summaryrefslogtreecommitdiff
path: root/src/ldso
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-06-19 22:42:10 -0400
committerRich Felker <dalias@aerifal.cx>2011-06-19 22:42:10 -0400
commitd19adeec52ee2e5f9524d306576cfd6bfc4a031a (patch)
tree18262762aa9d04159ad67d557b85aa73da854a23 /src/ldso
parent779165e6d42cfb3d19859e4eaa0da6807b24ad20 (diff)
downloadmusl-d19adeec52ee2e5f9524d306576cfd6bfc4a031a.tar.gz
musl-d19adeec52ee2e5f9524d306576cfd6bfc4a031a.tar.bz2
musl-d19adeec52ee2e5f9524d306576cfd6bfc4a031a.tar.xz
musl-d19adeec52ee2e5f9524d306576cfd6bfc4a031a.zip
make ldso asm more uniform with rest of codebase (no unnecessary suffixes)
Diffstat (limited to 'src/ldso')
-rw-r--r--src/ldso/i386/start.s24
1 files 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