aboutsummaryrefslogtreecommitdiff
path: root/ld/emulparams
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/emulparams
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/emulparams')
-rw-r--r--ld/emulparams/armelf.sh4
1 files changed, 2 insertions, 2 deletions
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 = . ;';