* scriptempl/pe.sc: Put numbered .ctors.* after .ctors
authorDanny Smith <dannysmith@users.sourceforge.net>
Sat, 17 Apr 2004 23:22:49 +0000 (23:22 +0000)
committerDanny Smith <dannysmith@users.sourceforge.net>
Sat, 17 Apr 2004 23:22:49 +0000 (23:22 +0000)
with default priority. Likewise for dtors.

ld/ChangeLog
ld/scripttempl/pe.sc

index 5a19e36cd9b82f4cd3fbeaf5096c852c23915165..aee579a0a97203274f79769cea2ae4bec69c3f7a 100644 (file)
@@ -1,3 +1,8 @@
+2004-04-18  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * scriptempl/pe.sc:  Put numbered .ctors.* after .ctors
+       with default priority. Likewise for dtors.
+
 2004-04-11  Thiemo Seufer  <seufer@csv.ica.uni-stuttgart.de>
 
        * configure.host: Remove mips*-dec-bsd* target.
index da09eb430481d7dbe00a51c7d5e52d5591dfc5a6..91c6c554484c6bd67987c6818a0e960c37785b43 100644 (file)
@@ -58,9 +58,9 @@ SECTIONS
     *(.glue_7t)
     *(.glue_7)
     ${CONSTRUCTING+ ___CTOR_LIST__ = .; __CTOR_LIST__ = . ; 
-                       LONG (-1); *(SORT(.ctors.*)); *(.ctors); *(.ctor); LONG (0); }
+                       LONG (-1);*(.ctors); *(.ctor); *(SORT(.ctors.*));  LONG (0); }
     ${CONSTRUCTING+ ___DTOR_LIST__ = .; __DTOR_LIST__ = . ; 
-                       LONG (-1); *(SORT(.dtors.*)); *(.dtors); *(.dtor);  LONG (0); }
+                       LONG (-1); *(.dtors); *(.dtor); *(SORT(.dtors.*));  LONG (0); }
     ${RELOCATING+ *(.fini)}
     /* ??? Why is .gcc_exc here?  */
     ${RELOCATING+ *(.gcc_exc)}