[Glibc-bsd-commits] r3299 - trunk/glibc-ports/kfreebsd

Aurelien Jarno aurel32 at alioth.debian.org
Mon May 2 04:06:52 UTC 2011


Author: aurel32
Date: 2011-05-02 04:06:48 +0000 (Mon, 02 May 2011)
New Revision: 3299

Modified:
   trunk/glibc-ports/kfreebsd/init-first.c
Log:
Remove `.ctors' and `.dtors' output sections, as in upstream commit 
4a531bb0b3b582cb693de9f76d2d97d970f9a5d5



Modified: trunk/glibc-ports/kfreebsd/init-first.c
===================================================================
--- trunk/glibc-ports/kfreebsd/init-first.c	2011-04-23 19:51:31 UTC (rev 3298)
+++ trunk/glibc-ports/kfreebsd/init-first.c	2011-05-02 04:06:48 UTC (rev 3299)
@@ -115,7 +115,7 @@
   __getopt_clean_environment (envp);
 #endif
 
-#ifdef SHARED
+#if defined SHARED && !defined NO_CTORS_DTORS_SECTIONS
   __libc_global_ctors ();
 #endif
 }




More information about the Glibc-bsd-commits mailing list