summaryrefslogtreecommitdiff
path: root/crt/sh/crtn.s
blob: 958ce951b663ef7c70e50c6625ab7ac22031c49b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
.section .init
	lds.l @r15+, pr
	mov.l @r15+, r14
	mov.l @r15+, r12
	rts
	 add #4, r15

.section .fini
	lds.l @r15+, pr
	mov.l @r15+, r14
	mov.l @r15+, r12
	rts
	 add #4, r15