summary refs log tree commit diff
path: root/include/libc-symbols.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-10-01 08:45:44 +0000
committerRoland McGrath <roland@gnu.org>2002-10-01 08:45:44 +0000
commit749a9a4fbfd261e2d9811d9bc4507478c2f7cc58 (patch)
tree17cafa03770236ee2f1b6671f22501b35eaf816d /include/libc-symbols.h
parentd1f69fed96fdb47aa7394d6e0ece1e16811d55fd (diff)
downloadglibc-749a9a4fbfd261e2d9811d9bc4507478c2f7cc58.tar.gz
glibc-749a9a4fbfd261e2d9811d9bc4507478c2f7cc58.tar.xz
glibc-749a9a4fbfd261e2d9811d9bc4507478c2f7cc58.zip
2002-10-01 Roland McGrath <roland@frob.com>
	* config.h.in (NO_HIDDEN): New #undef.
	* include/libc-symbols.h [! NO_HIDDEN]: Add this condition to
	nonempty definitions of hidden_proto et al.
	* configure.in: Grok --disable-hidden-plt to define NO_HIDDEN.
	* configure: Regenerated.
	* sysdeps/mach/hurd/configure.in: Always define NO_HIDDEN.
	* sysdeps/mach/hurd/configure: Regenerated.
Diffstat (limited to 'include/libc-symbols.h')
-rw-r--r--include/libc-symbols.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index 6281d700f1..eb7b0dc321 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -545,7 +545,7 @@
    libc_hidden_ver (__real_foo, foo)  */
 
 #if defined SHARED && defined DO_VERSIONING \
-    && !defined HAVE_BROKEN_ALIAS_ATTRIBUTE
+    && !defined HAVE_BROKEN_ALIAS_ATTRIBUTE && !defined NO_HIDDEN
 # ifndef __ASSEMBLER__
 #  if !defined HAVE_VISIBILITY_ATTRIBUTE \
       || defined HAVE_BROKEN_VISIBILITY_ATTRIBUTE