Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-aarch64/ifunc-15.s
2023-03-06 14:48:14 +01:00

11 lines
210 B
ArmAsm

.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