projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
improve gcc wrapper to support -nostdlib, -nostartfiles
[musl]
/
crt
/
i386
/
crt1.s
diff --git
a/crt/i386/crt1.s
b/crt/i386/crt1.s
index
8702052
..
3e88c78
100644
(file)
--- a/
crt/i386/crt1.s
+++ b/
crt/i386/crt1.s
@@
-12,6
+12,7
@@
_start:
pushl %ebp
pushl %eax
pushl %ecx
- pushl $main
+ call 1f
+1: addl $[main-.],(%esp)
call __libc_start_main
-.L0: jmp .L0
+1: jmp 1b