mirror of https://git.musl-libc.org/git/musl
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
235 B
19 lines
235 B
.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
|
|
|