diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2012-08-06 22:40:36 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2012-08-06 22:40:36 +0000 |
commit | 9e8082845f85cc1cb6be434177aa4d59e00663ff (patch) | |
tree | 03cb0aae26e6b1f35339bbdef8d4386b96fdef13 /ld/scripttempl | |
parent | eb8476a6e2fc115c0a953392e61ab27c7568a2a8 (diff) | |
download | gdb-9e8082845f85cc1cb6be434177aa4d59e00663ff.zip gdb-9e8082845f85cc1cb6be434177aa4d59e00663ff.tar.gz gdb-9e8082845f85cc1cb6be434177aa4d59e00663ff.tar.bz2 |
ld/
* emulparams/elf32bmip.sh: Make _gp hidden.
* emulparams/elf32bmipn32-defs.sh: Likewise.
* emulparams/elf32mipswindiss.sh: Likewise.
* scripttempl/mips.sc: Likewise.
ld/testsuite/
* ld-mips-elf/rel32-o32.d: Adjust section VMAs after the removal
of _gp from the global scope.
* ld-mips-elf/rel32-n32.d: Likewise.
* ld-mips-elf/rel64.d: Likewise.
Diffstat (limited to 'ld/scripttempl')
-rw-r--r-- | ld/scripttempl/mips.sc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/scripttempl/mips.sc b/ld/scripttempl/mips.sc index f53558a..1be01f9 100644 --- a/ld/scripttempl/mips.sc +++ b/ld/scripttempl/mips.sc @@ -42,7 +42,7 @@ SECTIONS *(.data) ${CONSTRUCTING+CONSTRUCTORS} } - ${RELOCATING+ _gp = ALIGN(16) + 0x8000;} + ${RELOCATING+ HIDDEN (_gp = ALIGN (16) + 0x8000);} .lit8 : { *(.lit8) } |