gas:
[binutils/dougsmingw.git] / ld / testsuite / ld-ifunc / ifunc-2-local-i386.s
blob4e0b6aefe769708af46a7fbbfc9fdf1c9352d559
1 .type foo, %gnu_indirect_function
2 .set __GI_foo, foo
3 .text
4 .type foo, @function
5 foo:
6 ret
7 .size foo, .-foo
8 .globl bar
9 .type bar, @function
10 bar:
11 call .L6
12 .L6:
13 popl %ebx
14 addl $_GLOBAL_OFFSET_TABLE_+[.-.L6], %ebx
15 call __GI_foo
16 leal __GI_foo@GOTOFF(%ebx), %eax
17 ret
18 .size bar, .-bar