Add -mrelax-relocations= to x86 assembler
[deliverable/binutils-gdb.git] / ld / testsuite / ld-x86-64 / protected3.s
index e4af6e7fb342e77aec9266aa5e10ae8de9663001..75380501746a9ab96f99971eddbdf21b3c70d8e2 100644 (file)
@@ -10,6 +10,7 @@ foo:
 .globl bar
        .type   bar, @function
 bar:
-       movl    foo(%rip), %eax
+       movq    foo@GOTPCREL(%rip), %rax
+       movl    (%rax), %eax
        ret
        .size   bar, .-bar
This page took 0.024353 seconds and 4 git commands to generate.