musl/crt/i386/crt1.s

19 lines
240 B
ArmAsm
Raw Normal View History

2011-02-12 05:22:29 +00:00
.text
.global _start
_start:
xorl %ebp,%ebp
popl %ecx
movl %esp,%eax
andl $-16,%esp
pushl %esp
pushl %esp
pushl %edx
2011-02-21 00:07:19 +00:00
pushl %ebp
pushl %ebp
2011-02-12 05:22:29 +00:00
pushl %eax
pushl %ecx
2011-02-22 03:26:31 +00:00
call 1f
1: addl $[main-.],(%esp)
2011-02-12 05:22:29 +00:00
call __libc_start_main
2011-02-22 03:26:31 +00:00
1: jmp 1b