summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/cris/crtn.S
blob: 951ae544994b816404ec267e6ecd45dca075af79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* 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
	.size	_init, .-_init

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