From d19adeec52ee2e5f9524d306576cfd6bfc4a031a Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sun, 19 Jun 2011 22:42:10 -0400 Subject: [PATCH] make ldso asm more uniform with rest of codebase (no unnecessary suffixes) --- src/ldso/i386/start.s | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) 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 -- 2.25.1