aboutsummaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
authorChung-Lin Tang <cltang@codesourcery.com>2014-05-11 10:04:45 -0700
committerChung-Lin Tang <cltang@codesourcery.com>2014-05-11 10:04:45 -0700
commitfae663595d6a49c5e4de58e17fe93525bec65ae9 (patch)
tree27d08f22600a4aa164c0979329cc1b4b5e9bbd3f /ld/emulparams
parente5898c282777ea27093bdc694b25cd8eaf795f0a (diff)
downloadgdb-fae663595d6a49c5e4de58e17fe93525bec65ae9.zip
gdb-fae663595d6a49c5e4de58e17fe93525bec65ae9.tar.gz
gdb-fae663595d6a49c5e4de58e17fe93525bec65ae9.tar.bz2
2014-05-11 Chung-Lin Tang <cltang@codesourcery.com>
* emulparams/nios2linux.sh (OTHER_GOT_SYMBOLS): Wrap _gp in HIDDEN(), and gp in PROVIDE_HIDDEN.
Diffstat (limited to 'ld/emulparams')
-rw-r--r--ld/emulparams/nios2linux.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/emulparams/nios2linux.sh b/ld/emulparams/nios2linux.sh
index f215177..e654250 100644
--- a/ld/emulparams/nios2linux.sh
+++ b/ld/emulparams/nios2linux.sh
@@ -6,8 +6,8 @@ LITTLE_OUTPUT_FORMAT="elf32-littlenios2"
BIG_OUTPUT_FORMAT="elf32-bignios2"
TEXT_START_ADDR=0x2000
OTHER_GOT_SYMBOLS='
- _gp = ALIGN(16) + 0x7ff0;
- PROVIDE(gp = _gp);
+ HIDDEN (_gp = ALIGN(16) + 0x7ff0);
+ PROVIDE_HIDDEN (gp = _gp);
'
ARCH=nios2
MACHINE=