mirror of
git://git.musl-libc.org/musl
synced 2024-12-16 11:45:13 +00:00
20 lines
235 B
ArmAsm
20 lines
235 B
ArmAsm
.weak _init
|
|
.weak _fini
|
|
.text
|
|
.global _start
|
|
_start:
|
|
xor %ebp,%ebp
|
|
pop %ecx
|
|
mov %esp,%eax
|
|
and $-16,%esp
|
|
push %esp
|
|
push %esp
|
|
push %edx
|
|
push $_fini
|
|
push $_init
|
|
push %eax
|
|
push %ecx
|
|
push $main
|
|
call __libc_start_main
|
|
1: jmp 1b
|