tizen 2.4 release
[external/binutils.git] / ld / testsuite / ld-aarch64 / ifunc-2.s
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         bl      __GI_foo
15         adrp    x0, __GI_foo
16         add     x0, x0, :lo12:__GI_foo
17         ret
18         .size   bar, .-bar