X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/db7fc030e9e04c881f5f12a0e23baa8db4e20ee1..986ce23ace2f7875a1a561bd947f435a7594146c:/lunaix-os/usr/uwrap.S diff --git a/lunaix-os/usr/uwrap.S b/lunaix-os/usr/uwrap.S index 1f07722..84fe24e 100644 --- a/lunaix-os/usr/uwrap.S +++ b/lunaix-os/usr/uwrap.S @@ -1,17 +1,14 @@ #define __ASM__ #include +.section .data + .global environ + environ: + .long 0 + .section .text .global _u_start - _u_start: - call usr_pre_init - jnz 1f - - popl %eax - - pushl (%eax) // argc - pushl 4(%eax) // argv - + _u_start: xorl %eax, %eax call main