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
feat: brk and sbrk (mmap based)
[lunaix-os.git]
/
lunaix-os
/
usr
/
uwrap.S
diff --git
a/lunaix-os/usr/uwrap.S
b/lunaix-os/usr/uwrap.S
index 1cd6515c57182386b4309204b6394d94e844730d..5708463653a63d0564a37ba16f3d3899dabc68b9 100644
(file)
--- a/
lunaix-os/usr/uwrap.S
+++ b/
lunaix-os/usr/uwrap.S
@@
-1,10
+1,14
@@
#define __ASM__
#include <lunaix/syscall.h>
+.section .data
+ .global environ
+ environ:
+ .long 0
+
.section .text
.global _u_start
_u_start:
- movl $2, %eax
call usr_pre_init
jnz 1f