Retro68/binutils/ld/testsuite/ld-ifunc/ifunc-2-local-x86-64.s
2012-03-26 21:18:29 +02:00

18 lines
262 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:
call __GI_foo
leaq __GI_foo(%rip), %rax
ret
.size bar, .-bar