summaryrefslogtreecommitdiff
path: root/ld/scripttempl
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2012-08-06 22:40:34 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2012-08-06 22:40:34 +0000
commit6e5f39b5da231ca5149bfc04684d705bbc6cd281 (patch)
tree3920460f99feb660a0427de5ba1f22b29ccb8f27 /ld/scripttempl
parentc5ddaa3c6b455edb6dfded81a16c534423bd100e (diff)
downloadbinutils-redhat-6e5f39b5da231ca5149bfc04684d705bbc6cd281.tar.gz
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.sc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/scripttempl/mips.sc b/ld/scripttempl/mips.sc
index f53558aba4..1be01f9a00 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)
}