aboutsummaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2009-11-20 15:04:51 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-11-20 15:04:51 +0000
commitce5181b407dfce78ab7e4e10051eaf44246ad1b4 (patch)
treedf4fcb69a75b71e1b57513a8cfb70817fb8ec4ba /ld/emulparams
parentc7d46a38b69c4bf34d1ab6addfbc91e6e144efc7 (diff)
downloadgdb-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.sh4
-rw-r--r--ld/emulparams/armelf_linux_eabi.sh4
-rw-r--r--ld/emulparams/armsymbian.sh8
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)"