8e6a777dd5fcd30b1fbae1cab189314a850eadcc
[musl] / src / ldso / i386 / start.s
1 .text
2 .global _start
3 _start:
4         xor %ebp,%ebp
5         pop %ecx
6         mov %esp,%eax
7         and $-16,%esp
8         mov %eax,%esi
9         mov %ecx,%edi
10         push %ebp
11         call 1f
12 1:      addl $_GLOBAL_OFFSET_TABLE_,(%esp)
13         push %eax
14         push %ecx
15         call __dynlink
16         mov %esi,%esp
17         push %edi
18         xor %edx,%edx
19         jmp *%eax