Retro68/binutils/ld/testsuite/ld-riscv-elf/weakref64.s
2018-12-28 16:25:28 +01:00

19 lines
219 B
ArmAsm

.option nopic
.text
.align 1
.globl _start
.type _start, @function
_start:
lla a5,f
beqz a5,.L1
addi sp,sp,-16
sd ra,8(sp)
call f
ld ra,8(sp)
addi sp,sp,16
tail f
.L1:
ret
.size _start, .-_start
.weak f