diff options
author | Jakub Jelinek <jakub@redhat.com> | 2005-11-15 09:54:10 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2005-11-15 09:54:10 +0000 |
commit | 7af1fc8277a5c9f20739e9c0b55ae727c3771e1a (patch) | |
tree | 4821e0f4eee2bc641d947a564368559e99467955 /csu/elf-init.c | |
parent | 29aa8a81904cd9c30da3bee6e6ef9b50b1eabdd4 (diff) | |
download | glibc-7af1fc8277a5c9f20739e9c0b55ae727c3771e1a.tar glibc-7af1fc8277a5c9f20739e9c0b55ae727c3771e1a.tar.gz glibc-7af1fc8277a5c9f20739e9c0b55ae727c3771e1a.tar.bz2 glibc-7af1fc8277a5c9f20739e9c0b55ae727c3771e1a.zip |
2.3.90-16cvs/fedora-glibc-2_3_90-16
Diffstat (limited to 'csu/elf-init.c')
-rw-r--r-- | csu/elf-init.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/csu/elf-init.c b/csu/elf-init.c index 0ec460b67b..d0a518f9fb 100644 --- a/csu/elf-init.c +++ b/csu/elf-init.c @@ -49,16 +49,16 @@ extern void (*__init_array_end []) (int, char **, char **) extern void (*__fini_array_start []) (void) attribute_hidden; extern void (*__fini_array_end []) (void) attribute_hidden; -# if defined HAVE_VISIBILITY_ATTRIBUTE \ - && (defined SHARED || defined LIBC_NONSHARED) -# define hidden_undef_2(x) #x -# define hidden_undef_1(x) hidden_undef_2 (x) -# define hidden_undef(x) \ +#if defined HAVE_VISIBILITY_ATTRIBUTE \ + && (defined SHARED || defined LIBC_NONSHARED) +# define hidden_undef_2(x) #x +# define hidden_undef_1(x) hidden_undef_2 (x) +# define hidden_undef(x) \ __asm (hidden_undef_1 (ASM_GLOBAL_DIRECTIVE) " " #x); \ __asm (".hidden " #x); -# else -# define hidden_undef(x) -# endif +#else +# define hidden_undef(x) +#endif hidden_undef (__preinit_array_start) hidden_undef (__preinit_array_end) @@ -66,7 +66,6 @@ hidden_undef (__init_array_start) hidden_undef (__init_array_end) hidden_undef (__fini_array_start) hidden_undef (__fini_array_end) -#endif /* These function symbols are provided for the .init/.fini section entry points automagically by the linker. */ |