projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add linux extension POLLRDHUP to poll.h
[musl]
/
crt
/
i386
/
Scrt1.s
diff --git
a/crt/i386/Scrt1.s
b/crt/i386/Scrt1.s
index
b0fbe10
..
161ee8e
100644
(file)
--- a/
crt/i386/Scrt1.s
+++ b/
crt/i386/Scrt1.s
@@
-3,13
+3,13
@@
.text
.global _start
_start:
.text
.global _start
_start:
- xor
l
%ebp,%ebp
- pop
l
%ecx
- mov
l
%esp,%eax
- and
l
$-16,%esp
- push
l
%esp
- push
l
%esp
- push
l
%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
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)
1: addl $[_fini-.],(%esp)
call 1f
1: addl $[_init-.],(%esp)
- push
l
%eax
- push
l
%ecx
- push
l
main@GOT(%ebx)
+ push %eax
+ push %ecx
+ push main@GOT(%ebx)
call __libc_start_main@plt
1: jmp 1b
call __libc_start_main@plt
1: jmp 1b