123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- #include <features.h>
- .text
- .align 4
- .global _start
- .type _start,%function
- #if defined L_crt0 || ! defined __UCLIBC_CTOR_DTOR__
- .type __uClibc_main,%function
- #else
- .weak _init
- .weak _fini
- .type __uClibc_start_main,%function
- #endif
- .type main,%function
- _start:
-
- popl %ecx
- movl %esp,%ebx
- movl %esp,%eax
- movl %ecx,%edx
- leal 4(%eax,%edx,4),%eax
-
-
- xorl %ebp,%ebp
- pushl %ebp
- pushl %ebp
- pushl %ebp
- movl %esp,%ebp
- #if defined L_crt1 && defined __UCLIBC_CTOR_DTOR__
-
- pushl $_fini
- pushl $_init
-
- pushl %eax
- pushl %ebx
- pushl %ecx
-
- call __uClibc_start_main
- #else
-
- pushl %eax
- pushl %ebx
- pushl %ecx
- call __uClibc_main
- #endif
-
- hlt
- .size _start,.-_start
|