Merge remote branch 'origin/master'
[binutils/dougsmingw.git] / ld / testsuite / ld-ifunc / ifunc-2-i386.s
blob32d8812c80080845669c2293a123743e2e28722f
1 .type foo, %gnu_indirect_function
2 .global __GI_foo
3 .hidden __GI_foo
4 .set __GI_foo, foo
5 .text
6 .globl foo
7 .type foo, @function
8 foo:
9 ret
10 .size foo, .-foo
11 .globl bar
12 .type bar, @function
13 bar:
14 call .L6
15 .L6:
16 popl %ebx
17 addl $_GLOBAL_OFFSET_TABLE_+[.-.L6], %ebx
18 call __GI_foo
19 leal __GI_foo@GOTOFF(%ebx), %eax
20 ret
21 .size bar, .-bar