Optimize x86 GOT32X/GOTPCRELX relocations
[deliverable/binutils-gdb.git] / ld / testsuite / ld-x86-64 / lea1.s
index 07a2e35473425efd87ed49bc610485892cd06ab8..2c9982e16dc2c44bc3365265722fba55c322351a 100644 (file)
@@ -9,10 +9,12 @@ foo:
        .globl  _start
        .type   _start, @function
 _start:
+       movl    foo@GOTPCREL(%rip), %eax
+       movl    bar@GOTPCREL(%rip), %r11d
        movq    foo@GOTPCREL(%rip), %rax
-       movq    bar@GOTPCREL(%rip), %rax
+       movq    bar@GOTPCREL(%rip), %r11
        movq    __start_my_section@GOTPCREL(%rip), %rax
-       movq    __stop_my_section@GOTPCREL(%rip), %rax
+       movq    __stop_my_section@GOTPCREL(%rip), %r11
        .size   _start, .-_start
        .comm   pad,4,4
        .comm   bar,4,4
This page took 0.025891 seconds and 4 git commands to generate.