Retro68/binutils/ld/testsuite/ld-aarch64/ifunc-15.s

12 lines
210 B
ArmAsm
Raw Normal View History

.text
.type foo, @function
.global foo
foo:
adrp x0, :got:ifunc
ldr x0, [x0, #:got_lo12:ifunc]
ret
.type ifunc, @gnu_indirect_function
.globl ifunc
ifunc:
ret