aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-10-15 18:53:18 +0000
committerIan Lance Taylor <ian@airs.com>1997-10-15 18:53:18 +0000
commita12e6215485096316c295ae93491d061045a5948 (patch)
tree393be4fd9c45ca85684383cd36085898704f978b /ld
parentc086885a6613bcf47b97650b85987a8391644619 (diff)
downloadgdb-a12e6215485096316c295ae93491d061045a5948.zip
gdb-a12e6215485096316c295ae93491d061045a5948.tar.gz
gdb-a12e6215485096316c295ae93491d061045a5948.tar.bz2
* scripttempl/pe.sc: Put .stab and .stabstr sections at end.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/scripttempl/pe.sc21
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