X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fldso%2Fi386%2Fstart.s;h=8e6a777dd5fcd30b1fbae1cab189314a850eadcc;hb=9e17b71fa658f102ecb2f210534070a2328dd6c9;hp=47c2748bd064f02467d045756a83ee667a42ff03;hpb=51e2d8310222ddd4d4e895f55c627100d863aa95;p=musl diff --git a/src/ldso/i386/start.s b/src/ldso/i386/start.s index 47c2748b..8e6a777d 100644 --- a/src/ldso/i386/start.s +++ b/src/ldso/i386/start.s @@ -1,19 +1,19 @@ .text .global _start _start: - xorl %ebp,%ebp - popl %ecx - movl %esp,%eax - andl $-16,%esp - movl %eax,%esi - movl %ecx,%edi - pushl %ebp + xor %ebp,%ebp + pop %ecx + mov %esp,%eax + and $-16,%esp + mov %eax,%esi + mov %ecx,%edi + push %ebp call 1f 1: addl $_GLOBAL_OFFSET_TABLE_,(%esp) - pushl %eax - pushl %ecx + push %eax + push %ecx call __dynlink - movl %esi,%esp - pushl %edi - xorl %edx,%edx + mov %esi,%esp + push %edi + xor %edx,%edx jmp *%eax