From: Chung-Lin Tang Date: Sun, 11 May 2014 17:04:45 +0000 (-0700) Subject: 2014-05-11 Chung-Lin Tang X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fae663595d6a49c5e4de58e17fe93525bec65ae9;p=binutils-gdb.git 2014-05-11 Chung-Lin Tang * emulparams/nios2linux.sh (OTHER_GOT_SYMBOLS): Wrap _gp in HIDDEN(), and gp in PROVIDE_HIDDEN. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 92a1c6cf779..ab93b77acbd 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2014-05-11 Chung-Lin Tang + + * emulparams/nios2linux.sh (OTHER_GOT_SYMBOLS): Wrap _gp in HIDDEN(), + and gp in PROVIDE_HIDDEN. + 2014-05-10 Hans-Peter Nilsson * ldlang.c (lang_finish): Don't call bfd_link_hash_table_free here. diff --git a/ld/emulparams/nios2linux.sh b/ld/emulparams/nios2linux.sh index f2151779964..e65425084df 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=