rework langinfo code for ABI compat and for use by time code
[musl] / crt / i386 / crt1.s
1 .weak _init
2 .weak _fini
3 .text
4 .global _start
5 _start:
6         xor %ebp,%ebp
7         pop %ecx
8         mov %esp,%eax
9         and $-16,%esp
10         push %esp
11         push %esp
12         push %edx
13         push $_fini
14         push $_init
15         push %eax
16         push %ecx
17         push $main
18         call __libc_start_main
19 1:      jmp 1b