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,11 @@
|
||||
.extern __mlibc_entry@plt
|
||||
|
||||
.section .text
|
||||
.global _start
|
||||
_start:
|
||||
move $a0, $sp
|
||||
la $a1, main
|
||||
bl %plt(__mlibc_entry)
|
||||
break 0
|
||||
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
@@ -0,0 +1,11 @@
|
||||
.extern __mlibc_entry
|
||||
|
||||
.section .text
|
||||
.global _start
|
||||
_start:
|
||||
move $a0, $sp
|
||||
la $a1, main
|
||||
b __mlibc_entry
|
||||
break 0
|
||||
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
Reference in New Issue
Block a user