Support R_SPARC_WDISP10 and R_SPARC_H34.
[external/binutils.git] / ld / testsuite / ld-ifunc / ifunc-7-i386.s
1         .text
2         .type foo, %gnu_indirect_function
3 .globl foo
4         .type   foo, @function
5 foo:
6         ret
7         .size   foo, .-foo
8         .hidden foo
9         .type start,"function"
10         .global start
11 start:
12         .type _start,"function"
13         .global _start
14 _start:
15         .type __start,"function"
16         .global __start
17 __start:
18         .type __start,"function"
19         call    .L6
20 .L6:
21         popl    %ebx
22         addl    $_GLOBAL_OFFSET_TABLE_+[.-.L6], %ebx
23         call    foo@PLT
24         leal    foo@GOT(%ebx), %eax