From 6f372e19e749d6cb170f995b673e7651a4e3715e Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Wed, 27 Oct 2004 06:57:43 +0000 Subject: [PATCH] * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Do not emit __exidx_{start,end} when not relocating. --- ld/ChangeLog | 5 +++++ ld/emulparams/armelf.sh | 4 ++-- 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 + + * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Do not emit + __exidx_{start,end} when not relocating. + 2004-10-25 Mark Mitchell * 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 = . ;'; -- 2.30.2