summary refs log tree commit diff
path: root/sysdeps/i386
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2010-12-24 20:14:37 -0500
committerUlrich Drepper <drepper@gmail.com>2010-12-24 20:14:37 -0500
commit4a531bb0b3b582cb693de9f76d2d97d970f9a5d5 (patch)
tree6f135f0145aab4c664d47d27d9aa08721a849888 /sysdeps/i386
parent07eb4b716ea5041bceb47b38ac8ab989a10b3afd (diff)
downloadglibc-4a531bb0b3b582cb693de9f76d2d97d970f9a5d5.tar.gz
glibc-4a531bb0b3b582cb693de9f76d2d97d970f9a5d5.tar.xz
glibc-4a531bb0b3b582cb693de9f76d2d97d970f9a5d5.zip
Remove `.ctors' and `.dtors' output sections
Diffstat (limited to 'sysdeps/i386')
-rw-r--r--sysdeps/i386/init-first.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/i386/init-first.c b/sysdeps/i386/init-first.c
index c6355a8b7b..2af042fe4b 100644
--- a/sysdeps/i386/init-first.c
+++ b/sysdeps/i386/init-first.c
@@ -59,7 +59,9 @@ _init (int argc, ...)
 {
   init (&argc);
 
+#ifndef NO_CTORS_DTORS_SECTIONS
   __libc_global_ctors ();
+#endif
 }
 #endif