aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/reloc-5.s
diff options
context:
space:
mode:
authorAdam Nemet <anemet@caviumnetworks.com>2007-08-01 17:41:30 +0000
committerAdam Nemet <anemet@caviumnetworks.com>2007-08-01 17:41:30 +0000
commit43ec5bc0d7e868bf8f7950c21597b49090e798d2 (patch)
treeb2f34c441a0e80f6676b9b9970cb71da1ff37ab3 /ld/testsuite/ld-mips-elf/reloc-5.s
parentbc37fce3d28a92b4c8f2bb83e4c7b2c6242c4616 (diff)
downloadgdb-43ec5bc0d7e868bf8f7950c21597b49090e798d2.zip
gdb-43ec5bc0d7e868bf8f7950c21597b49090e798d2.tar.gz
gdb-43ec5bc0d7e868bf8f7950c21597b49090e798d2.tar.bz2
* ld-mips-elf/reloc-4.s, ld-mips-elf/reloc-4.d,
ld-mips-elf/reloc-5.s, ld-mips-elf/reloc-5.d: New tests. * ld-mips-elf/mips-elf.exp: Invoke them.
Diffstat (limited to 'ld/testsuite/ld-mips-elf/reloc-5.s')
-rw-r--r--ld/testsuite/ld-mips-elf/reloc-5.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/reloc-5.s b/ld/testsuite/ld-mips-elf/reloc-5.s
new file mode 100644
index 0000000..a4b31b7
--- /dev/null
+++ b/ld/testsuite/ld-mips-elf/reloc-5.s
@@ -0,0 +1,11 @@
+ .text
+ .globl _start
+_start:
+ lw $2, %gp_rel(i)($28)
+
+ .section .sdata
+ .space 0x10000
+
+ .section .sbss
+i:
+ .space 4