diff options
author | Thomas Schwinge <tschwinge@gnu.org> | 2009-11-20 15:04:51 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2009-11-20 15:04:51 +0000 |
commit | ce5181b407dfce78ab7e4e10051eaf44246ad1b4 (patch) | |
tree | df4fcb69a75b71e1b57513a8cfb70817fb8ec4ba /ld/emulparams | |
parent | c7d46a38b69c4bf34d1ab6addfbc91e6e144efc7 (diff) | |
download | gdb-ce5181b407dfce78ab7e4e10051eaf44246ad1b4.zip gdb-ce5181b407dfce78ab7e4e10051eaf44246ad1b4.tar.gz gdb-ce5181b407dfce78ab7e4e10051eaf44246ad1b4.tar.bz2 |
ld/
2009-11-20 Thomas Schwinge <thomas@codesourcery.com>
* emulparams/armelf.sh (OTHER_READONLY_SECTIONS)
<__exidx_start, __exidx_end>: Use PROVIDE_HIDDEN.
* emulparams/armelf_linux_eabi.sh (OTHER_READONLY_SECTIONS)
<__exidx_start, __exidx_end>: Likewise.
* emulparams/armsymbian.sh (OTHER_READONLY_SECTIONS)
<.ARM.exidx$$Base, __exidx_start, __exidx_end, .ARM.exidx$$Limit>:
Likewise.
ld/testsuite/
2009-11-20 Thomas Schwinge <thomas@codesourcery.com>
* ld-arm/arm-dyn.ld: Adapt to main linker script changes.
* ld-arm/arm-lib.ld: Likewise.
* ld-arm/armthumb-lib.sym: : Adjust expected results.
* ld-arm/farcall-mixed-app-v5.d: Likewise.
* ld-arm/farcall-mixed-app.d: Likewise.
* ld-arm/farcall-mixed-app.sym: Likewise.
* ld-arm/farcall-mixed-lib.d: Likewise.
* ld-arm/mixed-app-v5.d: Likewise.
* ld-arm/mixed-app.d: Likewise.
* ld-arm/mixed-app.sym: Likewise.
* ld-arm/mixed-lib.sym: Likewise.
* ld-arm/preempt-app.sym: Likewise.
* ld-arm/tls-app.d: Likewise.
Diffstat (limited to 'ld/emulparams')
-rw-r--r-- | ld/emulparams/armelf.sh | 4 | ||||
-rw-r--r-- | ld/emulparams/armelf_linux_eabi.sh | 4 | ||||
-rw-r--r-- | ld/emulparams/armsymbian.sh | 8 |
3 files changed, 8 insertions, 8 deletions
diff --git a/ld/emulparams/armelf.sh b/ld/emulparams/armelf.sh index a3c317f..672b208 100644 --- a/ld/emulparams/armelf.sh +++ b/ld/emulparams/armelf.sh @@ -14,9 +14,9 @@ OTHER_SECTIONS='.note.gnu.arm.ident 0 : { KEEP (*(.note.gnu.arm.ident)) }' ATTRS_SECTIONS='.ARM.attributes 0 : { KEEP (*(.ARM.attributes)) KEEP (*(.gnu.attributes)) }' OTHER_READONLY_SECTIONS=" .ARM.extab ${RELOCATING-0} : { *(.ARM.extab${RELOCATING+* .gnu.linkonce.armextab.*}) } - ${RELOCATING+ __exidx_start = .; } + ${RELOCATING+ PROVIDE_HIDDEN (__exidx_start = .); } .ARM.exidx ${RELOCATING-0} : { *(.ARM.exidx${RELOCATING+* .gnu.linkonce.armexidx.*}) } - ${RELOCATING+ __exidx_end = .; }" + ${RELOCATING+ PROVIDE_HIDDEN (__exidx_end = .); }" DATA_START_SYMBOLS='__data_start = . ;'; diff --git a/ld/emulparams/armelf_linux_eabi.sh b/ld/emulparams/armelf_linux_eabi.sh index f6d4757..5b0c6b8 100644 --- a/ld/emulparams/armelf_linux_eabi.sh +++ b/ld/emulparams/armelf_linux_eabi.sh @@ -3,7 +3,7 @@ # Use the ARM ABI-compliant exception-handling sections. OTHER_READONLY_SECTIONS=" .ARM.extab ${RELOCATING-0} : { *(.ARM.extab${RELOCATING+* .gnu.linkonce.armextab.*}) } - ${RELOCATING+ __exidx_start = .; } + ${RELOCATING+ PROVIDE_HIDDEN (__exidx_start = .); } .ARM.exidx ${RELOCATING-0} : { *(.ARM.exidx${RELOCATING+* .gnu.linkonce.armexidx.*}) } - ${RELOCATING+ __exidx_end = .; }" + ${RELOCATING+ PROVIDE_HIDDEN (__exidx_end = .); }" diff --git a/ld/emulparams/armsymbian.sh b/ld/emulparams/armsymbian.sh index 3d7e864..f852702 100644 --- a/ld/emulparams/armsymbian.sh +++ b/ld/emulparams/armsymbian.sh @@ -13,10 +13,10 @@ EMBEDDED=yes # .ARM.exidx$${Base,Limit} symbols. OTHER_READONLY_SECTIONS=" .ARM.extab ${RELOCATING-0} : { *(.ARM.extab${RELOCATING+* .gnu.linkonce.armextab.*}) } - ${RELOCATING+ .ARM.exidx\$\$Base = . ; } - ${RELOCATING+ __exidx_start = .; } + ${RELOCATING+ PROVIDE_HIDDEN (.ARM.exidx\$\$Base = .); } + ${RELOCATING+ PROVIDE_HIDDEN (__exidx_start = .); } .ARM.exidx ${RELOCATING-0} : { *(.ARM.exidx${RELOCATING+* .gnu.linkonce.armexidx.*}) } - ${RELOCATING+ __exidx_end = .; } - ${RELOCATING+ .ARM.exidx\$\$Limit = . ; }" + ${RELOCATING+ PROVIDE_HIDDEN (__exidx_end = .); } + ${RELOCATING+ PROVIDE_HIDDEN (.ARM.exidx\$\$Limit = .); }" MAXPAGESIZE="CONSTANT (MAXPAGESIZE)" |