Automatic date update in version.in
[deliverable/binutils-gdb.git] / ld / testsuite / ld-x86-64 / pr21481b.S
1 .section .rodata.str1.1,"aMS",@progbits,1
2 .LC0:
3 .string "PASS"
4 .text
5 .globl check
6 .type check, @function
7 check:
8 subq $8, %rsp
9 call *get_func1@GOTPCREL(%rip)
10 cmpl $func1, %eax
11 jne .L3
12 movq func1_p@GOTPCREL(%rip), %rdx
13 cmpq %rax, (%rdx)
14 jne .L3
15 call *func1@GOTPCREL(%rip)
16 cmpl $1, %eax
17 jne .L3
18 call *call_func1@GOTPCREL(%rip)
19 cmpl $1, %eax
20 jne .L3
21 leaq .LC0(%rip), %rdi
22 addq $8, %rsp
23 jmp *puts@GOTPCREL(%rip)
24 .L3:
25 call *abort@GOTPCREL(%rip)
26 .size check, .-check
27 .globl get_func1
28 .type get_func1, @function
29 get_func1:
30 movq func1@GOTPCREL(%rip), %rax
31 ret
32 .size get_func1, .-get_func1
33 .globl call_func1
34 .type call_func1, @function
35 call_func1:
36 jmp *func1@GOTPCREL(%rip)
37 .size call_func1, .-call_func1
38 .globl func1_p
39 .section .rodata,"a",@progbits
40 .align 8
41 .size func1_p, 8
42 .type func1_p, @object
43 func1_p:
44 .dc.a func1
45 .text
46 implementation1:
47 movl $1, %eax
48 ret
49 .size implementation1, .-implementation1
50 .globl func1
51 .type func1, @gnu_indirect_function
52 func1:
53 leaq implementation1(%rip), %rax
54 ret
55 .size func1, .-func1
56 .section .note.GNU-stack,"",@progbits
This page took 0.03444 seconds and 4 git commands to generate.