about summary refs log tree commit diff
path: root/sysdeps/sh/init-first.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sh/init-first.c')
-rw-r--r--sysdeps/sh/init-first.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/sh/init-first.c b/sysdeps/sh/init-first.c
index d816625ef4..1f3a821fea 100644
--- a/sysdeps/sh/init-first.c
+++ b/sysdeps/sh/init-first.c
@@ -59,7 +59,9 @@ _init (int argc, ...)
 {
   init (&argc);
 
+#ifndef NO_CTORS_DTORS_SECTIONS
   __libc_global_ctors ();
+#endif
 }
 #endif