summaryrefslogtreecommitdiff
path: root/crt/mips/crti.s
blob: b1593d19f7b11f99d7105d9da1fa1429e47d4719 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.set noreorder

.section .init
.global _init
.align 2
_init:
	subu $sp,$sp,32
	sw $gp,24($sp)
	sw $ra,28($sp)

.section .fini
.global _fini
.align 2
_fini:
	subu $sp,$sp,32
	sw $gp,24($sp)
	sw $ra,28($sp)