1 /* Startup code compliant to the ELF CRIS ABI */
5 .syntax no_register_prefix
7 /* The first piece of initialized data. */
11 .type __data_start, @object
19 .type _start, %function
20 #if defined(__UCLIBC_CTOR_DTOR__)
21 .type _init, %function
22 .type _fini, %function
28 .type __uClibc_main, %function
31 * On the stack we have argc. We can calculate argv/envp
32 * from that and the succeeding stack location, but fix so
33 * we get the right calling convention (regs in r10/r11).
35 * Please view linux/fs/binfmt_elf.c for a complete
36 * understanding of this.
40 * Need to call __uClibc_main(main, argc, argv, _init, _fini)
53 /* Leave control to the libc */
56 .size _start, .-_start