lang-bootstrap/05/musl-0.6.0/crt/i386/crt1.s

18 lines
218 B
ArmAsm
Raw Permalink Normal View History

2022-02-20 13:18:21 -08:00
.text
.global _start
_start:
xorl %ebp,%ebp
popl %ecx
movl %esp,%eax
andl $-16,%esp
pushl %esp
pushl %esp
pushl %edx
pushl $0
pushl $0
pushl %eax
pushl %ecx
pushl $main
call __libc_start_main
.L0: jmp .L0