aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/gp-hidden-lib.rd
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2012-08-06 22:45:18 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2012-08-06 22:45:18 +0000
commit43b5366be5820507e12426aa42705668231db6a3 (patch)
treeb6f20645ddc14717107b2e4d228a0734d4c20e89 /ld/testsuite/ld-mips-elf/gp-hidden-lib.rd
parent9e8082845f85cc1cb6be434177aa4d59e00663ff (diff)
downloadgdb-43b5366be5820507e12426aa42705668231db6a3.zip
gdb-43b5366be5820507e12426aa42705668231db6a3.tar.gz
gdb-43b5366be5820507e12426aa42705668231db6a3.tar.bz2
* ld-mips-elf/gp-hidden.rd: New test.
* ld-mips-elf/gp-hidden.sd: New test. * ld-mips-elf/gp-hidden-lib.rd: New test. * ld-mips-elf/gp-hidden-ver.rd: New test. * ld-mips-elf/gp-hidden-64.rd: New test. * ld-mips-elf/gp-hidden-lib-64.rd: New test. * ld-mips-elf/gp-hidden-ver-64.rd: New test. * ld-mips-elf/gp-hidden.s: New test source. * ld-mips-elf/gp-hidden-lib.s: New test source. * ld-mips-elf/gp-hidden-ver.s: New test source. * ld-mips-elf/gp-hidden-ver.ver: New test version script. * ld-mips-elf/mips-elf.exp: Run the new tests.
Diffstat (limited to 'ld/testsuite/ld-mips-elf/gp-hidden-lib.rd')
-rw-r--r--ld/testsuite/ld-mips-elf/gp-hidden-lib.rd6
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/gp-hidden-lib.rd b/ld/testsuite/ld-mips-elf/gp-hidden-lib.rd
new file mode 100644
index 0000000..080dfe2
--- /dev/null
+++ b/ld/testsuite/ld-mips-elf/gp-hidden-lib.rd
@@ -0,0 +1,6 @@
+
+Relocation section '\.rel\.dyn' at offset .* contains 2 entries:
+ *Offset * Info * Type * Sym\. *Value * Sym\. *Name
+[0-9a-f]+ * 0+00 * R_MIPS_NONE *
+# This must be an absolute relocation, there must not be a _gp reference.
+[0-9a-f]+ * 0+03 * R_MIPS_REL32 *