x86-64: Use PLT address for PC-relative reloc
[deliverable/binutils-gdb.git] / ld / testsuite / ld-x86-64 / pr22842b.S
1 .text
2 .globl main
3 .type main,@function
4 main:
5 pushq %rax
6 movslq bar(%rip), %rax
7 leaq bar(%rip), %rdi
8 addq %rax, %rdi
9
10 callq foo
11 xorl %eax, %eax
12 popq %rcx
13 retq
14
15 .data
16 .p2align 2
17 bar:
18 .long test - .
19
20 .section .note.GNU-stack,"",@progbits
This page took 0.038225 seconds and 4 git commands to generate.