mirror of
https://git.musl-libc.org/git/musl
synced 2025-10-05 21:12:41 +02:00
The LLVM assembler reportedly assembles the form using the j mnemonic incorrectly (see issue 107460). The jr form is canonical and avoids this problem, so use it instead.
14 lines
161 B
ArmAsm
14 lines
161 B
ArmAsm
.set noreorder
|
|
|
|
.section .init
|
|
lw $gp,24($sp)
|
|
lw $ra,28($sp)
|
|
jr $ra
|
|
addu $sp,$sp,32
|
|
|
|
.section .fini
|
|
lw $gp,24($sp)
|
|
lw $ra,28($sp)
|
|
jr $ra
|
|
addu $sp,$sp,32
|