aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/pe.sc
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1996-03-31 08:37:51 +0000
committerSteve Chamberlain <sac@cygnus>1996-03-31 08:37:51 +0000
commit0c1abe06238b30c802b40b84984dbac9acacdd8c (patch)
tree33c61989715e561bb323b22526c3b60f43466493 /ld/scripttempl/pe.sc
parent02e7ece3ca066e6a80edbc88da7d4c1945406739 (diff)
downloadgdb-0c1abe06238b30c802b40b84984dbac9acacdd8c.zip
gdb-0c1abe06238b30c802b40b84984dbac9acacdd8c.tar.gz
gdb-0c1abe06238b30c802b40b84984dbac9acacdd8c.tar.bz2
* scripttempl/{ppcpe.sc, pe.sc} (.junk): Remove and use /DISCARD/.
Diffstat (limited to 'ld/scripttempl/pe.sc')
-rw-r--r--ld/scripttempl/pe.sc5
1 files changed, 3 insertions, 2 deletions
diff --git a/ld/scripttempl/pe.sc b/ld/scripttempl/pe.sc
index c80ed58..712c2c4 100644
--- a/ld/scripttempl/pe.sc
+++ b/ld/scripttempl/pe.sc
@@ -21,6 +21,7 @@ SECTIONS
${CONSTRUCTING+ ___DTOR_LIST__ = .; __DTOR_LIST__ = . ;
LONG (-1); *(.dtors); *(.dtor); LONG (0); }
${RELOCATING+ *(.fini);}
+ ${RELOCATING+ *(.gcc_exc);}
${RELOCATING+ etext = .};
}
@@ -51,8 +52,8 @@ SECTIONS
*(.edata) ;
}
- /* See coffcode.h. These are discarded. */
- .junk BLOCK(__section_alignment__) : {
+
+ /DISCARD/ BLOCK(__section_alignment__) : {
*(.debug\$S)
*(.debug\$T)
*(.debug\$F)