diff options
-rw-r--r-- | ld/ChangeLog | 4 | ||||
-rw-r--r-- | ld/scripttempl/pe.sc | 21 |
2 files changed, 16 insertions, 9 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 944f96f..119b61c 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +Wed Oct 15 14:52:36 1997 Ian Lance Taylor <ian@cygnus.com> + + * scripttempl/pe.sc: Put .stab and .stabstr sections at end. + Wed Oct 8 12:37:05 1997 Richard Henderson <rth@cygnus.com> * configure.tgt, configure.host: Change alpha-*-* to alpha*-*-*; diff --git a/ld/scripttempl/pe.sc b/ld/scripttempl/pe.sc index b497561..6a41aae 100644 --- a/ld/scripttempl/pe.sc +++ b/ld/scripttempl/pe.sc @@ -83,11 +83,6 @@ SECTIONS /* Grouped sections are used to handle .CRT\$foo. */ *(.CRT\$) } - .rsrc BLOCK(__section_alignment__) : - { - /* Grouped sections are used to handle .rsrc\$0[12]. */ - *(.rsrc\$) - } .endjunk BLOCK(__section_alignment__) : { @@ -96,6 +91,18 @@ SECTIONS ${RELOCATING+ __end__ = .;} } + .reloc BLOCK(__section_alignment__) : + { + *(.reloc) + } + + .rsrc BLOCK(__section_alignment__) : + { + *(.rsrc) + /* Grouped sections are used to handle .rsrc\$0[12]. */ + *(.rsrc\$) + } + .stab BLOCK(__section_alignment__) ${RELOCATING+(NOLOAD)} : { [ .stab ] @@ -106,9 +113,5 @@ SECTIONS [ .stabstr ] } - .reloc BLOCK(__section_alignment__) : - { - *(.reloc) - } } EOF |