Fixed incorrect call to mx_exit() in _start
This commit is contained in:
@@ -11,7 +11,7 @@ _start:
|
|||||||
mov %rsp, %rsi
|
mov %rsp, %rsi
|
||||||
andq $-16, %rsp
|
andq $-16, %rsp
|
||||||
call __crt_init
|
call __crt_init
|
||||||
movq %rax, %rdi
|
movq %rax, %rsi
|
||||||
movq $2, %rsi
|
movq $1, %rdi /* MX_EXIT_ALL_THREADS */
|
||||||
movq $1, %rax
|
movq $1, %rax /* mx_exit() */
|
||||||
syscall
|
syscall
|
||||||
|
|||||||
Reference in New Issue
Block a user