PR ld/22909 amendment; don't xfail ld-elf/pr19539.d for cris*-*-*.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-x86-64 / no-plt-extern1.S
CommitLineData
d9aee8d5
L
1 .text
2 .p2align 4,,15
3 .globl get_func
4 .type get_func, @function
5get_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
12call_func:
13 jmp *func@GOTPCREL(%rip)
14 .size call_func, .-call_func
3a4b0e0f
L
15 .globl func_p
16 .section .data.rel,"aw",@progbits
17 .type func_p, @object
18func_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
d9aee8d5 28 .section .note.GNU-stack,"",@progbits
This page took 0.200922 seconds and 4 git commands to generate.