summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/arc/crtn.S
blob: f507080b3062dcffb38df49598b3bc6f6d5a7856 (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
28
29
/*
 * 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
	; EPILOGUE
	ld.ab fp,[sp,4]
	ld blink,[sp,0]
	j.d [blink]
	add sp,sp,4
;	.size	 _init,.-_init

	.section .fini
	.align 4
	.global	_fini
	.type	 _fini,@function
	; EPILOGUE
	ld.ab fp,[sp,4]
	ld blink,[sp,0]
	j.d [blink]
	add sp,sp,4
;	.size	 _fini,.-_fini