ld: Extract _bfd_elf_link_iterate_on_relocs
[binutils-gdb.git] / ld / testsuite / ld-i386 / no-plt-check1b.S
1 .section .rodata.str1.1,"aMS",@progbits,1
2 .LC0:
3 .string "PASS"
4 .text
5 .p2align 4,,15
6 .globl check
7 .type check, @function
8 check:
9 subl $12, %esp
10 call *get_func@GOT
11 movl func@GOT, %edx
12 cmpl %edx, %eax
13 jne .L3
14 cmpl %edx, func_p
15 jne .L3
16 call *func@GOT
17 cmpl $305419896, %eax
18 jne .L3
19 call *call_func@GOT
20 cmpl $305419896, %eax
21 jne .L3
22 subl $12, %esp
23 pushl $.LC0
24 call *puts@GOT
25 addl $28, %esp
26 ret
27 .L3:
28 call *abort@GOT
29 .size check, .-check
30 .section .note.GNU-stack,"",@progbits