aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/i386/init-first.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/i386/init-first.c')
-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 c6355a8..2af042f 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