Update list of targets supporting --gc-sections.
authorAlan Modra <amodra@gmail.com>
Mon, 19 Jun 2000 02:05:53 +0000 (02:05 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 19 Jun 2000 02:05:53 +0000 (02:05 +0000)
KEEP .eh_frame contents.

ld/ChangeLog
ld/NEWS
ld/scripttempl/elf.sc
ld/scripttempl/elfd30v.sc

index 2e0b963b5e64a39966e3f4fd4b2cb6aa6e856de6..4bab41cbae171c344b26c8a7f6a46a4078cd6197 100644 (file)
@@ -1,3 +1,10 @@
+2000-06-18  Alan Modra  <alan@linuxcare.com.au>
+
+       * NEWS: Update list of targets supporting --gc-sections.
+
+       * scripttempl/elf.sc: KEEP .eh_frame contents.
+       * scripttempl/elfd30v.sc: Same here.
+
 2000-06-18  Stephane Carrez  <stcarrez@worldnet.fr>
 
        * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
diff --git a/ld/NEWS b/ld/NEWS
index df6446daaaa5d0c2542fbc09b71fc9c85253c5e9..245808c1470323748d3558fa2a0fc777649f68f8 100644 (file)
--- a/ld/NEWS
+++ b/ld/NEWS
@@ -16,7 +16,9 @@ Changes in version 2.10:
 
 * Added garbage collection of unused sections, enabled by --gc-sections. 
   It does require a bit of backend support; currently implemented are
-  ppc-elf, mips-elf, and mn10300-elf.  Others will ignore the option.
+  avr-elf, d10v-elf, fr30-elf, i386-elf, m32r-elf, m68k-elf, mcore-elf,
+  mips-elf, mn10300-elf, ppc-elf, sh-elf, sparc-elf, and v850-elf.
+  Others will ignore the option.
 
 * Added SORT to the linker script language to permit sorting sections by file
   name or section name.
index b650073e00f05d913836f15e3c04dc843467964c..0e56d8abe9069629808a79e9e4f63c84a02c8295 100644 (file)
@@ -244,7 +244,7 @@ SECTIONS
     ${CONSTRUCTING+SORT(CONSTRUCTORS)}
   }
   .data1 ${RELOCATING-0} : { *(.data1) }
-  .eh_frame : { *(.eh_frame) }
+  .eh_frame : { KEEP (*(.eh_frame)) }
   .gcc_except_table : { *(.gcc_except_table) }
   ${WRITABLE_RODATA+${RODATA}}
   ${RELOCATING+${OTHER_READWRITE_SECTIONS}}
index aecc3e5c37495f9293bfe5be7dc10993094c413f..50d51f23c42af97733a3bc3eb2f8c067ff55deaf 100644 (file)
@@ -121,7 +121,7 @@ SECTIONS
   .rodata      ${RELOCATING-0} : { *(.rodata) }        ${RELOCATING+ > ${DATA_MEMORY}}
 
   /* C++ exception support.  */
-  .eh_frame    ${RELOCATING-0} : { *(.eh_frame) }      ${RELOCATING+ > ${DATA_MEMORY}}
+  .eh_frame    ${RELOCATING-0} : { KEEP (*(.eh_frame)) }       ${RELOCATING+ > ${DATA_MEMORY}}
   .gcc_except_table ${RELOCATING-0} : { *(.gcc_except_table) } ${RELOCATING+ > ${DATA_MEMORY}}
 
   ${RELOCATING+${CTOR}}
This page took 0.029916 seconds and 4 git commands to generate.