* emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Do not emit
authorMark Mitchell <mark@codesourcery.com>
Wed, 27 Oct 2004 06:57:43 +0000 (06:57 +0000)
committerMark Mitchell <mark@codesourcery.com>
Wed, 27 Oct 2004 06:57:43 +0000 (06:57 +0000)
__exidx_{start,end} when not relocating.

ld/ChangeLog
ld/emulparams/armelf.sh

index 757860d34057f952afd591c90a29a54cfd28ff48..31b457af71f3f0bd75f7bface2345dc56e4b3d58 100644 (file)
@@ -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.
index 195810c1110c9a38f0f1f1a213d6d9df698b69d6..497e1cc7f2aef07bd1d68eec0805f3e31861d52c 100644 (file)
@@ -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 = . ;';