summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/arc/crti.S
blob: da8fc2a2a304eb4467048af772c56fafa586f586 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * Copyright (C) 2013 Synopsys, Inc. (www.synopsys.com)
 *
 * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB in this tarball.
 */

___gnu_compiled_c:

	.section .init
	.align 4
	.global	_init
	.type	 _init,@function
_init:
	st.a blink,[sp,-4]
	st.a fp,[sp,-4]
	mov fp,sp


	.section .fini
	.align 4
	.global	_fini
	.type	 _fini,@function
_fini:
	st.a blink,[sp,-4]
	st.a fp,[sp,-4]
	mov fp,sp
	.align 4