aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/elf.sc
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-06-19 02:05:53 +0000
committerAlan Modra <amodra@gmail.com>2000-06-19 02:05:53 +0000
commit987fd5b44e803e8bd04c9955dd9719c5de28a621 (patch)
treeba7e78d73be28cd0613f181f1ea18a755e3f0a16 /ld/scripttempl/elf.sc
parent60bcf0fa8c115b4e71d7b1372aca3efccffc9607 (diff)
downloadgdb-987fd5b44e803e8bd04c9955dd9719c5de28a621.zip
gdb-987fd5b44e803e8bd04c9955dd9719c5de28a621.tar.gz
gdb-987fd5b44e803e8bd04c9955dd9719c5de28a621.tar.bz2
Update list of targets supporting --gc-sections.
KEEP .eh_frame contents.
Diffstat (limited to 'ld/scripttempl/elf.sc')
-rw-r--r--ld/scripttempl/elf.sc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc
index b650073..0e56d8a 100644
--- a/ld/scripttempl/elf.sc
+++ b/ld/scripttempl/elf.sc
@@ -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}}