mirror of
git://git.musl-libc.org/musl
synced 2024-12-13 10:15:40 +00:00
bc5f816a7a
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
168 B
ArmAsm
13 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
|