aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-07-01 01:55:01 +0000
committerAlan Modra <amodra@gmail.com>2005-07-01 01:55:01 +0000
commitc8c9c2972e30fe4e8a084efeb022298dafacb7d4 (patch)
tree51af2b9b272f099bead3cffed59470c4b4cfe833 /ld/scripttempl
parentecff417636cab7616b22e38e2fa4fe80798ef8d2 (diff)
downloadgdb-c8c9c2972e30fe4e8a084efeb022298dafacb7d4.zip
gdb-c8c9c2972e30fe4e8a084efeb022298dafacb7d4.tar.gz
gdb-c8c9c2972e30fe4e8a084efeb022298dafacb7d4.tar.bz2
* scripttempl/elf.sc (.gcc_except_table): Don't KEEP.
Diffstat (limited to 'ld/scripttempl')
-rw-r--r--ld/scripttempl/elf.sc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc
index 1c22141..2d92e3a 100644
--- a/ld/scripttempl/elf.sc
+++ b/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.*}) }