musl/crt/mipsn32/crtn.s
Rich Felker 5972c4a411 add mips n32 port (ILP32 ABI for mips64)
based on patch submitted by Jaydeep Patil, with minor changes.
2016-04-18 05:19:13 +00:00

13 lines
166 B
ArmAsm

.set noreorder
.section .init
ld $gp, 16($sp)
ld $ra, 24($sp)
j $ra
addu $sp, $sp, 32
.section .fini
ld $gp, 16($sp)
ld $ra, 24($sp)
j $ra
addu $sp, $sp, 32