From 0c1abe06238b30c802b40b84984dbac9acacdd8c Mon Sep 17 00:00:00 2001 From: Steve Chamberlain Date: Sun, 31 Mar 1996 08:37:51 +0000 Subject: [PATCH] * scripttempl/{ppcpe.sc, pe.sc} (.junk): Remove and use /DISCARD/. --- ld/scripttempl/pe.sc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ld/scripttempl/pe.sc b/ld/scripttempl/pe.sc index c80ed58e001..712c2c45842 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) -- 2.30.2