binutils-gdb/ld/testsuite/ld-aarch64/ifunc-1.s

17 lines
233 B
ArmAsm

.type foo, %gnu_indirect_function
.global __GI_foo
.hidden __GI_foo
.set __GI_foo, foo
.text
.globl foo
.type foo, @function
foo:
ret
.size foo, .-foo
.globl bar
.type bar, @function
bar:
bl __GI_foo
ret
.size bar, .-bar