diff options
author | DJ Delorie <dj@redhat.com> | 2002-01-16 01:48:43 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2002-01-16 01:48:43 +0000 |
commit | 335c5610808be4ab30471250c6ed1f82cf97e009 (patch) | |
tree | 233208a3fcd856060bb6fd010ab7a8fb1ba79170 | |
parent | 391c4305e8074dd8642d7269e5dcbba3ebf51e8e (diff) | |
download | gdb-335c5610808be4ab30471250c6ed1f82cf97e009.zip gdb-335c5610808be4ab30471250c6ed1f82cf97e009.tar.gz gdb-335c5610808be4ab30471250c6ed1f82cf97e009.tar.bz2 |
* scripttempl/pe.sc: Add support for constructor priorities.
-rw-r--r-- | ld/ChangeLog | 4 | ||||
-rw-r--r-- | ld/scripttempl/pe.sc | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 7fac653..6dd069d 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2002-01-15 DJ Delorie <dj@redhat.com> + + * scripttempl/pe.sc: Add support for constructor priorities. + 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl> * emulparams/avr1200.sh (DATA_START): Define as 0x60. diff --git a/ld/scripttempl/pe.sc b/ld/scripttempl/pe.sc index ce1a502..2f24757 100644 --- a/ld/scripttempl/pe.sc +++ b/ld/scripttempl/pe.sc @@ -54,9 +54,9 @@ SECTIONS *(.glue_7t) *(.glue_7) ${CONSTRUCTING+ ___CTOR_LIST__ = .; __CTOR_LIST__ = . ; - LONG (-1); *(.ctors); *(.ctor); LONG (0); } + LONG (-1); *(SORT(.ctors.*)); *(.ctors); *(.ctor); LONG (0); } ${CONSTRUCTING+ ___DTOR_LIST__ = .; __DTOR_LIST__ = . ; - LONG (-1); *(.dtors); *(.dtor); LONG (0); } + LONG (-1); *(SORT(.dtors.*)); *(.dtors); *(.dtor); LONG (0); } ${RELOCATING+ *(.fini)} /* ??? Why is .gcc_exc here? */ ${RELOCATING+ *(.gcc_exc)} |