summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/pr13082-1a.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-x86-64/pr13082-1a.d')
-rw-r--r--ld/testsuite/ld-x86-64/pr13082-1a.d13
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/pr13082-1a.d b/ld/testsuite/ld-x86-64/pr13082-1a.d
new file mode 100644
index 0000000..cb404e0
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/pr13082-1a.d
@@ -0,0 +1,13 @@
+#source: pr13082-1.s
+#name: PR ld/13082-1 (a)
+#as: --x32
+#ld: -shared -melf32_x86_64
+#readelf: -d -r --wide
+
+Dynamic section at offset 0x[0-9a-f]+ contains [0-9]+ entries:
+#...
+ 0x[0-9a-f]+ +\(RELACOUNT\) +1
+#...
+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_RELATIVE64 +[0-9a-f]+