chiark / gitweb /
[PATCH] added klibc version 0.82 (cvs tree) to the udev tree.
[elogind.git] / klibc / klibc / arch / arm / crt0.S
1 #
2 # arch/arm/crt0.S
3 #
4 # void _start(void)
5 # {
6 #    /* Divine up argc, argv, and envp */
7 #    environ = envp;
8 #    exit(main(argc, argv, envp));
9 # } 
10 #
11
12         .text
13         .align 4
14         .type _start,#function
15         .globl _start
16
17 #ifdef __thumb__
18         .thumb_func
19 #endif
20
21 _start: mov     r0, sp
22         mov     r1, #0
23         bl      __libc_init
24
25         .size _start,.-_start