Add R_X86_64_[REX_]GOTPCRELX support to gas and ld
[deliverable/binutils-gdb.git] / ld / testsuite / ld-x86-64 / gotpcrel1a.S
1 .text
2 .globl main
3 .type main, @function
4 main:
5 subq $8, %rsp
6 call *foo@GOTPCREL(%rip)
7 call *bar@GOTPCREL(%rip)
8 call *plt@GOTPCREL(%rip)
9 movq foo@GOTPCREL(%rip), %rax
10 call *%rax
11 movq bar@GOTPCREL(%rip), %rcx
12 call *%rcx
13 movq plt@GOTPCREL(%rip), %rdx
14 call *%rdx
15 xorl %edi, %edi
16 addq $8, %rsp
17 jmp *myexit@GOTPCREL(%rip)
18 .size main, .-main
This page took 0.035522 seconds and 4 git commands to generate.