From 3c17e4f7eccc6d1b7e5f9989622c145d60a04873 Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Sat, 17 Apr 2004 23:22:49 +0000 Subject: [PATCH] * scriptempl/pe.sc: Put numbered .ctors.* after .ctors with default priority. Likewise for dtors. --- ld/ChangeLog | 5 +++++ ld/scripttempl/pe.sc | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 5a19e36cd9b..aee579a0a97 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2004-04-18 Danny Smith + + * scriptempl/pe.sc: Put numbered .ctors.* after .ctors + with default priority. Likewise for dtors. + 2004-04-11 Thiemo Seufer * configure.host: Remove mips*-dec-bsd* target. diff --git a/ld/scripttempl/pe.sc b/ld/scripttempl/pe.sc index da09eb43048..91c6c554484 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)} -- 2.30.2