summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sh/crti.S
blob: f79b6d2cf905137359969c09fcf995414e5c81af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
	.file	"crti.S"

	.section .init
	.align	2
	.global	_init
	.hidden _init
	.type	_init,@function
_init:
	mov.l	r14,@-r15
	sts.l	pr,@-r15
	mov	r15,r14

	.section .fini
	.align	2
	.global	_fini
	.hidden _fini
	.type	_fini,@function
_fini:
	mov.l	r14,@-r15
	sts.l	pr,@-r15
	mov	r15,r14