diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2004-04-17 23:22:49 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2004-04-17 23:22:49 +0000 |
commit | 3c17e4f7eccc6d1b7e5f9989622c145d60a04873 (patch) | |
tree | 62d6c3a2f4a6afc2645ce895f09322b29916347f /ld/scripttempl/pe.sc | |
parent | fdd72f950f09a3f553525cc54af622eb533d13d2 (diff) | |
download | fsf-binutils-gdb-3c17e4f7eccc6d1b7e5f9989622c145d60a04873.zip fsf-binutils-gdb-3c17e4f7eccc6d1b7e5f9989622c145d60a04873.tar.gz fsf-binutils-gdb-3c17e4f7eccc6d1b7e5f9989622c145d60a04873.tar.bz2 |
* scriptempl/pe.sc: Put numbered .ctors.* after .ctors
with default priority. Likewise for dtors.
Diffstat (limited to 'ld/scripttempl/pe.sc')
-rw-r--r-- | ld/scripttempl/pe.sc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/scripttempl/pe.sc b/ld/scripttempl/pe.sc index da09eb4..91c6c55 100644 --- a/ld/scripttempl/pe.sc +++ b/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)} |