summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/gp-hidden-ver-64.rd
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-mips-elf/gp-hidden-ver-64.rd')
-rw-r--r--ld/testsuite/ld-mips-elf/gp-hidden-ver-64.rd13
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/gp-hidden-ver-64.rd b/ld/testsuite/ld-mips-elf/gp-hidden-ver-64.rd
new file mode 100644
index 0000000..1639211
--- /dev/null
+++ b/ld/testsuite/ld-mips-elf/gp-hidden-ver-64.rd
@@ -0,0 +1,13 @@
+
+Relocation section '\.rel\.dyn' at offset .* contains 3 entries:
+ *Offset * Info * Type * Sym\. *Value * Sym\. *Name
+[0-9a-f]+ * 0+00000000 * R_MIPS_NONE *
+ * Type2: R_MIPS_NONE *
+ * Type3: R_MIPS_NONE *
+# This must be an absolute relocation, there must not be a _gp reference.
+[0-9a-f]+ * 0+00001203 * R_MIPS_REL32 *
+ * Type2: R_MIPS_64 *
+ * Type3: R_MIPS_NONE *
+[0-9a-f]+ * [0-9a-f]+00001203 * R_MIPS_REL32 * [0-9a-f]+ * bar
+ * Type2: R_MIPS_64 *
+ * Type3: R_MIPS_NONE *