X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=crt%2Fi386%2FScrt1.s;h=161ee8e8d7a66ebdf96f639ef120dfc958af4715;hp=b0fbe104a957b3f0c99c640200c6100296e12b60;hb=bb9abdef48969671ee51f28379981a13c440d0d9;hpb=83023d1b50297cd2aa0fe4cbd2a0539462bb7c48 diff --git a/crt/i386/Scrt1.s b/crt/i386/Scrt1.s index b0fbe104..161ee8e8 100644 --- a/crt/i386/Scrt1.s +++ b/crt/i386/Scrt1.s @@ -3,13 +3,13 @@ .text .global _start _start: - xorl %ebp,%ebp - popl %ecx - movl %esp,%eax - andl $-16,%esp - pushl %esp - pushl %esp - pushl %edx + xor %ebp,%ebp + pop %ecx + mov %esp,%eax + and $-16,%esp + push %esp + push %esp + push %edx call 1f 1: addl $_GLOBAL_OFFSET_TABLE_,(%esp) pop %ebx @@ -17,8 +17,8 @@ _start: 1: addl $[_fini-.],(%esp) call 1f 1: addl $[_init-.],(%esp) - pushl %eax - pushl %ecx - pushl main@GOT(%ebx) + push %eax + push %ecx + push main@GOT(%ebx) call __libc_start_main@plt 1: jmp 1b