Browse Source

* scripttempl/elf.sc (.gcc_except_table): Don't KEEP.

gdb-csl-arm-20051020-branch
Alan Modra 21 years ago
parent
commit
c8c9c2972e
  1. 4
      ld/ChangeLog
  2. 4
      ld/scripttempl/elf.sc

4
ld/ChangeLog

@ -1,3 +1,7 @@
2005-07-01 Alan Modra <amodra@bigpond.net.au>
* scripttempl/elf.sc (.gcc_except_table): Don't KEEP.
2005-06-30 Ben Elliston <bje@gnu.org>
* Makefile.am (check-DEJAGNU): Don't search for expect.

4
ld/scripttempl/elf.sc

@ -329,7 +329,7 @@ cat <<EOF
${OTHER_READONLY_SECTIONS}
.eh_frame_hdr : { *(.eh_frame_hdr) }
.eh_frame ${RELOCATING-0} : ONLY_IF_RO { KEEP (*(.eh_frame)) }
.gcc_except_table ${RELOCATING-0} : ONLY_IF_RO { KEEP (*(.gcc_except_table)) *(.gcc_except_table.*) }
.gcc_except_table ${RELOCATING-0} : ONLY_IF_RO { *(.gcc_except_table .gcc_except_table.*) }
/* Adjust the address for the data segment. We want to adjust up to
the same address within the page on the next page up. */
@ -339,7 +339,7 @@ cat <<EOF
/* Exception handling */
.eh_frame ${RELOCATING-0} : ONLY_IF_RW { KEEP (*(.eh_frame)) }
.gcc_except_table ${RELOCATING-0} : ONLY_IF_RW { KEEP (*(.gcc_except_table)) *(.gcc_except_table.*) }
.gcc_except_table ${RELOCATING-0} : ONLY_IF_RW { *(.gcc_except_table .gcc_except_table.*) }
/* Thread Local Storage sections */
.tdata ${RELOCATING-0} : { *(.tdata${RELOCATING+ .tdata.* .gnu.linkonce.td.*}) }

Loading…
Cancel
Save