Fix commit 0a7d38897b9fb1ec7a064ca3347cbac3ba49e5ac
[deliverable/binutils-gdb.git] / ld / testsuite / ld-x86-64 / no-plt-extern1.S
1 .text
2 .p2align 4,,15
3 .globl get_func
4 .type get_func, @function
5 get_func:
6 movq func@GOTPCREL(%rip), %rax
7 ret
8 .size get_func, .-get_func
9 .p2align 4,,15
10 .globl call_func
11 .type call_func, @function
12 call_func:
13 jmp *func@GOTPCREL(%rip)
14 .size call_func, .-call_func
15 .globl func_p
16 .section .data.rel,"aw",@progbits
17 .type func_p, @object
18 func_p:
19 #ifdef __LP64__
20 .align 8
21 .size func_p, 8
22 .quad func
23 #else
24 .align 4
25 .size func_p, 4
26 .long func
27 #endif
28 .section .note.GNU-stack,"",@progbits
This page took 0.030532 seconds and 4 git commands to generate.