about summary refs log tree commit diff
path: root/crt/mips/crti.s
blob: cbc6e3e9ffe7c7a738b681d4c976c9a642273bf4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
.set noreorder

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

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