musl/crt/mips/crti.s
Rich Felker 967bcbf67c mark mips crt code as code
otherwise disassemblers treat it as data.
2015-05-25 16:02:49 -04:00

20 lines
249 B
ArmAsm

.set noreorder
.section .init
.global _init
.type _init,@function
.align 2
_init:
subu $sp,$sp,32
sw $gp,24($sp)
sw $ra,28($sp)
.section .fini
.global _fini
.type _fini,@function
.align 2
_fini:
subu $sp,$sp,32
sw $gp,24($sp)
sw $ra,28($sp)