bfd/
[binutils.git] / ld / testsuite / ld-ifunc / ifunc-2-x86-64.s
blob4137ff1e10d833fe7b424cbd860b47c2999733a9
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 __GI_foo
15 leaq __GI_foo(%rip), %rax
16 ret
17 .size bar, .-bar