summaryrefslogtreecommitdiff
path: root/crt/mips/crti.s
blob: 39dee38004d934f77fe97375d2277d840c8a3a90 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.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)