summaryrefslogtreecommitdiff
path: root/ld/scripttempl/pe.sc
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2002-01-16 01:48:43 +0000
committerDJ Delorie <dj@delorie.com>2002-01-16 01:48:43 +0000
commit2fadc7b0c40dc12f4c9ee55d3f99a395c29e84a7 (patch)
tree89f364efc0a5351aa1ffdf1f54ec2e688b88db49 /ld/scripttempl/pe.sc
parent1f07434afde77ea0d94b98d30acecbce298739ed (diff)
downloadbinutils-redhat-2fadc7b0c40dc12f4c9ee55d3f99a395c29e84a7.tar.gz
* scripttempl/pe.sc: Add support for constructor priorities.
Diffstat (limited to 'ld/scripttempl/pe.sc')
-rw-r--r--ld/scripttempl/pe.sc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/scripttempl/pe.sc b/ld/scripttempl/pe.sc
index ce1a502f71..2f24757e42 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)}