x86: Only allow S + A relocations against absolute symbol
[deliverable/binutils-gdb.git] / ld / testsuite / ld-x86-64 / pr19609-6a.d
index 3c011d9b057f173d1ebbbe69da2ebbc20de7beb1..b340287f48b179a0d83a3e76c881aea8888fefb6 100644 (file)
@@ -1,4 +1,13 @@
 #source: pr19609-6.s
 #as: --64 -mrelax-relocations=yes
 #ld: -melf_x86_64 --defsym foobar=0x80000000
-#error: failed to convert GOTPCREL relocation; relink with --no-relax
+#objdump: -dw
+
+.*: +file format .*
+
+
+Disassembly of section .text:
+
+[a-f0-9]+ <_start>:
+[      ]*[a-f0-9]+:    48 8b 05 ([0-9a-f]{2} ){4} *    mov    0x[a-f0-9]+\(%rip\),%rax        # [a-f0-9]+ <.got>
+#pass
This page took 0.026669 seconds and 4 git commands to generate.