about summary refs log tree commit diff
path: root/sysdeps/sh/init-first.c
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2010-12-24 20:14:37 -0500
committerH.J. Lu <hjl.tools@gmail.com>2013-01-28 09:58:32 -0800
commit91a47ba45fc70b7fce405f05b0543296a4509aa1 (patch)
tree2b0509bc5a2f0a562187d43f1f08dae5a5b9480c /sysdeps/sh/init-first.c
parentdf79688ef6f6c746ecb4cc2e212780832e2f9c87 (diff)
downloadglibc-91a47ba45fc70b7fce405f05b0543296a4509aa1.tar.gz
glibc-91a47ba45fc70b7fce405f05b0543296a4509aa1.tar.xz
glibc-91a47ba45fc70b7fce405f05b0543296a4509aa1.zip
Remove `.ctors' and `.dtors' output sections hjl/ctor/release/2.11
Conflicts:
	ChangeLog
	configure
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