* scripttempl/{ppcpe.sc, pe.sc} (.junk): Remove and use /DISCARD/.
authorSteve Chamberlain <sac@cygnus>
Sun, 31 Mar 1996 08:37:51 +0000 (08:37 +0000)
committerSteve Chamberlain <sac@cygnus>
Sun, 31 Mar 1996 08:37:51 +0000 (08:37 +0000)
ld/scripttempl/pe.sc

index c80ed58e001f8f324b8da3b935360a4857aad5c9..712c2c458424aa9f31a8133652ee91738ff783e8 100644 (file)
@@ -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)