user: implement mlibc as the libc, finally.
It's finally done.. Signed-off-by: kaguya <vpshinomiya@protonmail.com>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
.section .text
|
||||
.global _start
|
||||
|
||||
.type _start, %function
|
||||
.type main, %function
|
||||
.type __mlibc_entry, %function
|
||||
|
||||
.cfi_startproc
|
||||
_start:
|
||||
.cfi_undefined eip
|
||||
xor %ebp, %ebp
|
||||
mov %esp, %ecx
|
||||
push $main
|
||||
push %ecx
|
||||
call __mlibc_entry
|
||||
.cfi_endproc
|
||||
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
Reference in New Issue
Block a user