aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-08-03 18:40:18 +0000
committerUlrich Drepper <drepper@redhat.com>2002-08-03 18:40:18 +0000
commit2b29b5acdd746f16946a0fa1d93c4be8032ad6b1 (patch)
tree5df40e7d201703fd75f1c3a418c881075d7d68e6 /include
parenta757607d82e91654986355a6509b6c3e7cc7c0b8 (diff)
downloadglibc-2b29b5acdd746f16946a0fa1d93c4be8032ad6b1.zip
glibc-2b29b5acdd746f16946a0fa1d93c4be8032ad6b1.tar.gz
glibc-2b29b5acdd746f16946a0fa1d93c4be8032ad6b1.tar.bz2
Optimize if HAVE_BROKEN_ALIAS_ATTRIBUTE is not defined.
Diffstat (limited to 'include')
-rw-r--r--include/libc-symbols.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index 84ee166..74fea25 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -440,18 +440,15 @@
versioned_symbol (libc, __real_foo, foo, GLIBC_2_1);
libc_hidden_ver (__real_foo, foo) */
-#if defined SHARED && defined DO_VERSIONING
+#if defined SHARED && defined DO_VERSIONING \
+ && !defined HAVE_BROKEN_ALIAS_ATTRIBUTE
# ifndef __ASSEMBLER__
# ifdef HAVE_BROKEN_VISIBILITY_ATTRIBUTE
# define __hidden_proto_hiddenattr
# else
# define __hidden_proto_hiddenattr attribute_hidden
# endif
-# ifndef HAVE_BROKEN_ALIAS_ATTRIBUTE
-# define hidden_proto(name) __hidden_proto (name, __GI_##name)
-# else
-# define hidden_proto(name)
-# endif
+# define hidden_proto(name) __hidden_proto (name, __GI_##name)
# define __hidden_proto(name, internal) \
__typeof (name) internal; \
__typeof (name) name __asm__ (__hidden_asmname (#internal)) \