summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/pr13082-3b.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-x86-64/pr13082-3b.d')
-rw-r--r--ld/testsuite/ld-x86-64/pr13082-3b.d9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/pr13082-3b.d b/ld/testsuite/ld-x86-64/pr13082-3b.d
new file mode 100644
index 0000000000..12efaf0964
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/pr13082-3b.d
@@ -0,0 +1,9 @@
+#source: pr13082-3.s
+#name: PR ld/13082-3 (b)
+#as: --x32
+#ld: -pie -melf32_x86_64
+#readelf: -r --wide
+
+Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 1 entries:
+ Offset Info Type Sym. Value Symbol's Name \+ Addend
+[0-9a-f]+ +[0-9a-f]+ +R_X86_64_32 +[0-9a-f]+ +func \+ 0