mirror of
git://git.musl-libc.org/musl
synced 2025-03-06 20:48:29 +01: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.
13 lines
161 B
ArmAsm
13 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
|