projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix bugs in cancellable syscall asm
[musl]
/
crt
/
i386
/
crt1.s
diff --git
a/crt/i386/crt1.s
b/crt/i386/crt1.s
index
050adec
..
3e88c78
100644
(file)
--- a/
crt/i386/crt1.s
+++ b/
crt/i386/crt1.s
@@
-8,10
+8,11
@@
_start:
pushl %esp
pushl %esp
pushl %edx
- pushl
$0
- pushl
$0
+ pushl
%ebp
+ pushl
%ebp
pushl %eax
pushl %ecx
- pushl $main
+ call 1f
+1: addl $[main-.],(%esp)
call __libc_start_main
-.L0: jmp .L0
+1: jmp 1b