summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/cris/crtn.S
blob: 7b2dce17cd8e6850fc8c120875f2198ecede034b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* glibc's sysdeps/cris/elf/initfini.c used for reference [EPILOG] */

	.section	.init
	.align	1
	.global	_init
	.type	_init, @function
	move.d	[$sp+],$r0
	move	$r1,$srp
	move.d	[$sp+],$r1
	Ret
	nop

	.section	.fini
	.align	1
	.global	_fini
	.type	_fini, @function
	move.d	[$sp+],$r0
	move	$r1,$srp
	move.d	[$sp+],$r1
	Ret
	nop