1
0
mirror of https://git.musl-libc.org/git/musl synced 2025-10-05 21:12:41 +02:00
Files
musl/crt/mips/crtn.s
Alex Rønne Petersen bc5f816a7a mips: use preferred asm mnemomic jr for better assembler compatibility
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.
2024-10-22 18:58:02 -04:00

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