12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- #include <features.h>
- .text
- #ifndef __UCLIBC_CTOR_DTOR__
- .weak _init
- .weak _fini
- #endif
- .type main,
- .type _main,
- .text
- .align 4
- .global __start
- .hidden __start
- .type __start,
- __start:
- mov fp, 0
- ld_s r1, [sp]
- mov_s r5, r0
-
- add r2, sp, 4
- #ifdef L_Scrt1
- ld r0, [pcl,
- ld r3, [pcl,
- ld r4, [pcl,
- #else
- mov_s r0, main
- mov_s r3, _init
- mov r4, _fini
- #endif
- and sp, sp, -8
- mov r6, sp
-
- bl __uClibc_main
-
- flag 1
- .size __start,.-__start
- .section ".note.ABI-tag", "a"
- .align 4
- .long 1f - 0f
- .long 3f - 2f
- .long 1
- 0: .asciz "GNU"
- 1: .align 4
- 2: .long 0
- #if (__GNUC__ > 4)
- .long 4,8,0
- #else
- .long 3,9,0
- #endif
- 3: .align 4
|