Fixed incorrect call to mx_exit() in _start

This commit is contained in:
Max Wash
2020-07-16 17:12:19 +01:00
parent 405e98717b
commit 89e40d126b

View File

@@ -11,7 +11,7 @@ _start:
mov %rsp, %rsi
andq $-16, %rsp
call __crt_init
movq %rax, %rdi
movq $2, %rsi
movq $1, %rax
movq %rax, %rsi
movq $1, %rdi /* MX_EXIT_ALL_THREADS */
movq $1, %rax /* mx_exit() */
syscall