Browse Source

* scriptempl/pe.sc: Put numbered .ctors.* after .ctors

with default priority. Likewise for dtors.
jimb-rda-nptl-branch
Danny Smith 23 years ago
parent
commit
3c17e4f7ec
  1. 5
      ld/ChangeLog
  2. 4
      ld/scripttempl/pe.sc

5
ld/ChangeLog

@ -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.

4
ld/scripttempl/pe.sc

@ -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)}

Loading…
Cancel
Save