aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2007-04-12 15:52:02 +0000
committerBob Wilson <bob.wilson@acm.org>2007-04-12 15:52:02 +0000
commite1e5c0b5eb58ca69f19feca1b13bedc9fc256e84 (patch)
treef1849969021349cf3d9389153c3678b21158e6a4 /ld
parente6590a1b7e15e9f2f2527603f2e18bd3d4da62a6 (diff)
downloadgdb-e1e5c0b5eb58ca69f19feca1b13bedc9fc256e84.zip
gdb-e1e5c0b5eb58ca69f19feca1b13bedc9fc256e84.tar.gz
gdb-e1e5c0b5eb58ca69f19feca1b13bedc9fc256e84.tar.bz2
bfd/
* elf32-xtensa.c (elf_xtensa_gc_mark_hook): Don't follow references from Xtensa property sections. ld/ * emulparams/elf32xtensa.sh (OTHER_SECTIONS): KEEP property sections.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/emulparams/elf32xtensa.sh6
2 files changed, 7 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index e38237f..5ea8cac 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2007-04-12 Bob Wilson <bob.wilson@acm.org>
+
+ * emulparams/elf32xtensa.sh (OTHER_SECTIONS): KEEP property sections.
+
2007-04-10 Richard Henderson <rth@redhat.com>
* ldlang.c (relax_sections): Initialize and increment
diff --git a/ld/emulparams/elf32xtensa.sh b/ld/emulparams/elf32xtensa.sh
index f342433..216d761 100644
--- a/ld/emulparams/elf32xtensa.sh
+++ b/ld/emulparams/elf32xtensa.sh
@@ -36,7 +36,7 @@ OTHER_SDATA_SECTIONS="
}
"
OTHER_SECTIONS="
- .xt.lit 0 : { *(.xt.lit${RELOCATING+ .xt.lit.* .gnu.linkonce.p.*}) }
- .xt.insn 0 : { *(.xt.insn${RELOCATING+ .gnu.linkonce.x.*}) }
- .xt.prop 0 : { *(.xt.prop${RELOCATING+ .xt.prop.* .gnu.linkonce.prop.*}) }
+ .xt.lit 0 : { KEEP (*(.xt.lit${RELOCATING+ .xt.lit.* .gnu.linkonce.p.*})) }
+ .xt.insn 0 : { KEEP (*(.xt.insn${RELOCATING+ .gnu.linkonce.x.*})) }
+ .xt.prop 0 : { KEEP (*(.xt.prop${RELOCATING+ .xt.prop.* .gnu.linkonce.prop.*})) }
"