Files
KirkOS/user/include/mlibc/sysdeps/linux/m68k/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

16 lines
251 B
ArmAsm

.section .text
.global _start
.type _start, %function
.type main, %function
.type __mlibc_entry, %function
_start:
suba.l %fp, %fp
move.l %sp, %d0
move.l #main, -(%sp)
move.l %d0, -(%sp)
jsr __mlibc_entry
.section .note.GNU-stack,"",%progbits