Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/ld/testsuite/ld-aarch64/ifunc-15.s

12 lines
210 B
ArmAsm
Raw Normal View History

2023-03-06 14:48:14 +01:00
.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