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.
12 lines
168 B
ArmAsm
12 lines
168 B
ArmAsm
.set noreorder
|
|
.section .init
|
|
ld $gp, 16($sp)
|
|
ld $ra, 24($sp)
|
|
jr $ra
|
|
addu $sp, $sp, 32
|
|
|
|
.section .fini
|
|
ld $gp, 16($sp)
|
|
ld $ra, 24($sp)
|
|
jr $ra
|
|
addu $sp, $sp, 32
|