Fixed incorrect call to mx_exit() in _start
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user