From 6f372e19e749d6cb170f995b673e7651a4e3715e Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Wed, 27 Oct 2004 06:57:43 +0000 Subject: * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Do not emit __exidx_{start,end} when not relocating. --- ld/emulparams/armelf.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ld/emulparams') 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 = . ;'; -- cgit v1.1