1
0
mirror of https://github.com/sgmarz/osblog.git synced 2024-11-23 18:06:20 +04:00
osblog/risc_v/userspace/startlib/start.S
2020-05-29 19:34:48 -04:00

15 lines
222 B
ArmAsm

.section .text
.global _start
_start:
.option push
.option norelax
la gp, __global_pointer$
.option pop
call main
# Exit system call after main
li a0, 93
j make_syscall
.type _start, function
.size _start, .-_start