Files
KirkOS/user/include/mlibc/sysdeps/linux/x86/crt-src/crt1.S
T
kaguya 9a9b91c940 user: implement mlibc as the libc, finally.
It's finally done..

Signed-off-by: kaguya <vpshinomiya@protonmail.com>
2026-05-02 03:31:49 -04:00

19 lines
278 B
ArmAsm

.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