Retro68/binutils/ld/testsuite/ld-aarch64/ifunc-21.s
2015-08-28 17:32:19 +02:00

14 lines
229 B
ArmAsm

.text
.type ifunc, @gnu_indirect_function
.hidden ifunc
ifunc:
ret
.size ifunc, .-ifunc
.type bar, @function
.globl bar
bar:
adrp x0, :got:ifunc
ldr x0, [x0, #:got_lo12:ifunc]
ret
.size bar, .-bar