summaryrefslogtreecommitdiffstats
path: root/usr/klibc/arch/arm/crt0.S
blob: 1e81f8e906635fb321aca0aaeada523d0fe5fe85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#
# arch/arm/crt0.S
#
# void _start(void)
# {
#    __libc_init(elf_structure, atexit_ptr);
# }
#

	.text
	.balign 4
	.type _start,#function
	.globl _start

#ifdef __thumb__
	.thumb_func
#endif

_start:	mov	r0, sp
	mov	r1, #0
	bl	__libc_init

	.size _start,.-_start