summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/pr19818-3c.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-x86-64/pr19818-3c.d')
-rw-r--r--ld/testsuite/ld-x86-64/pr19818-3c.d8
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/pr19818-3c.d b/ld/testsuite/ld-x86-64/pr19818-3c.d
new file mode 100644
index 00000000000..c94077373f2
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/pr19818-3c.d
@@ -0,0 +1,8 @@
+#source: pr19818-3.s
+#as: --x32 -mrelax-relocations=no
+#ld: -shared -m elf32_x86_64 --defsym foo=0xffffffff -z nocombreloc
+#readelf: -r --wide
+
+Relocation section '.rela.text' 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 +ffffffff +foo \+ 0