git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
refactor: elf parsing utility and exec related
[lunaix-os.git]
/
lunaix-os
/
usr
/
uwrap.S
diff --git
a/lunaix-os/usr/uwrap.S
b/lunaix-os/usr/uwrap.S
index c9e2bbc20aa9a43ec6c512b3c9d27e59563ca11c..84fe24ec0183eda8dde63fbe8a4f60da8275c4c2 100644
(file)
--- a/
lunaix-os/usr/uwrap.S
+++ b/
lunaix-os/usr/uwrap.S
@@
-8,17
+8,7
@@
.section .text
.global _u_start
- _u_start:
- movl (%esp), %eax
- pushl %eax
- call usr_pre_init
- jnz 1f
-
- popl %eax
-
- pushl 4(%eax) // argv
- pushl (%eax) // argc
-
+ _u_start:
xorl %eax, %eax
call main