2.3.90-16

This commit is contained in:
Jakub Jelinek 2005-11-15 10:01:26 +00:00
parent b656b18818
commit e4a1800256

View File

@ -224,21 +224,21 @@
* scripts/extract-abilist.awk: If `lastversion' variable defined, omit
--- glibc-20051115T0809/csu/elf-init.c 5 Nov 2005 17:41:38 -0000 1.8
+++ glibc-20051115T0809-fedora/csu/elf-init.c 15 Nov 2005 08:21:54 -0000 1.3.2.5
@@ -49,6 +49,24 @@ extern void (*__init_array_end []) (int,
+++ glibc-20051115T0809-fedora/csu/elf-init.c 15 Nov 2005 09:54:10 -0000 1.3.2.6
@@ -49,6 +49,23 @@ extern void (*__init_array_end []) (int,
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)
@ -246,7 +246,6 @@
+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. */