aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2004-10-27 06:57:43 +0000
committerMark Mitchell <mark@codesourcery.com>2004-10-27 06:57:43 +0000
commit6f372e19e749d6cb170f995b673e7651a4e3715e (patch)
tree2fa6f7250a6601b1eb2b3d0b6ef437010dd9b859 /ld
parent97ecf3226de156edd6021981349357ea1094f1f8 (diff)
downloadgdb-6f372e19e749d6cb170f995b673e7651a4e3715e.zip
gdb-6f372e19e749d6cb170f995b673e7651a4e3715e.tar.gz
gdb-6f372e19e749d6cb170f995b673e7651a4e3715e.tar.bz2
* emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Do not emit
__exidx_{start,end} when not relocating.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/emulparams/armelf.sh4
2 files changed, 7 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 757860d..31b457a 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2004-10-26 Mark Mitchell <mark@codesourcery.com>
+
+ * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Do not emit
+ __exidx_{start,end} when not relocating.
+
2004-10-25 Mark Mitchell <mark@codesourcery.com>
* Makefile.in (earmsymbian.c): Depend on armbpabi.sc, not elf.sc.
diff --git a/ld/emulparams/armelf.sh b/ld/emulparams/armelf.sh
index 195810c..497e1cc 100644
--- a/ld/emulparams/armelf.sh
+++ b/ld/emulparams/armelf.sh
@@ -12,9 +12,9 @@ OTHER_BSS_END_SYMBOLS='_bss_end__ = . ; __bss_end__ = . ; __end__ = . ;'
OTHER_SECTIONS='.note.gnu.arm.ident 0 : { KEEP (*(.note.gnu.arm.ident)) }'
OTHER_READONLY_SECTIONS="
.ARM.extab ${RELOCATING-0} : { *(.ARM.extab${RELOCATING+* .gnu.linkonce.armextab.*}) }
- __exidx_start = .;
+ ${RELOCATING+ __exidx_start = .; }
.ARM.exidx ${RELOCATING-0} : { *(.ARM.exidx${RELOCATING+* .gnu.linkonce.armexidx.*}) }
- __exidx_end = .;"
+ ${RELOCATING+ __exidx_end = .; }"
DATA_START_SYMBOLS='__data_start = . ;';