projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make ldso asm more uniform with rest of codebase (no unnecessary suffixes)
[musl]
/
src
/
ldso
/
i386
/
start.s
diff --git
a/src/ldso/i386/start.s
b/src/ldso/i386/start.s
index
47c2748
..
8e6a777
100644
(file)
--- a/
src/ldso/i386/start.s
+++ b/
src/ldso/i386/start.s
@@
-1,19
+1,19
@@
.text
.global _start
_start:
.text
.global _start
_start:
- xor
l
%ebp,%ebp
- pop
l
%ecx
- mov
l
%esp,%eax
- and
l
$-16,%esp
- mov
l
%eax,%esi
- mov
l
%ecx,%edi
- push
l
%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)
call 1f
1: addl $_GLOBAL_OFFSET_TABLE_,(%esp)
- push
l
%eax
- push
l
%ecx
+ push %eax
+ push %ecx
call __dynlink
call __dynlink
- mov
l
%esi,%esp
- push
l
%edi
- xor
l
%edx,%edx
+ mov %esi,%esp
+ push %edi
+ xor %edx,%edx
jmp *%eax
jmp *%eax