aboutsummaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-10-01 12:59:42 +0000
committerNick Clifton <nickc@redhat.com>2004-10-01 12:59:42 +0000
commit40a18ebd3ae910042b4d7bf053a41c247db7cbc1 (patch)
treecd1e24028a8d52668bd1579632901934575f3d52 /ld/emulparams
parent14127cc4f2b98a818bef55c977eb3ea11b0ba5ce (diff)
downloadgdb-40a18ebd3ae910042b4d7bf053a41c247db7cbc1.zip
gdb-40a18ebd3ae910042b4d7bf053a41c247db7cbc1.tar.gz
gdb-40a18ebd3ae910042b4d7bf053a41c247db7cbc1.tar.bz2
The patch below adds binutils support for the SHT_ARM_EXIDX, as defined by
the ARM EABI.
Diffstat (limited to 'ld/emulparams')
-rw-r--r--ld/emulparams/armelf.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/emulparams/armelf.sh b/ld/emulparams/armelf.sh
index 35a6d23..195810c 100644
--- a/ld/emulparams/armelf.sh
+++ b/ld/emulparams/armelf.sh
@@ -10,6 +10,11 @@ OTHER_TEXT_SECTIONS='*(.glue_7t) *(.glue_7)'
OTHER_BSS_SYMBOLS='__bss_start__ = .;'
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 = .;
+ .ARM.exidx ${RELOCATING-0} : { *(.ARM.exidx${RELOCATING+* .gnu.linkonce.armexidx.*}) }
+ __exidx_end = .;"
DATA_START_SYMBOLS='__data_start = . ;';