Files
rosetta/sys/ld/arch/x86_64/start.S

18 lines
199 B
ArmAsm

.code64
.global _start
.type _start, @function
.extern main
.type main, @function
.extern task_exit
.type task_exit, @function
_start:
call main
mov %rax, %rdi
call task_exit
1: pause
jmp 1b