summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 757860d3405..31b457af71f 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 195810c1110..497e1cc7f2a 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 = . ;';