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

14 lines
229 B
ArmAsm
Raw Normal View History

2015-08-28 15:32:19 +00:00
.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