libcontext: Call exit instead of random memory address on MSW x86_64
cherrypick of 580293c7fa
See #6820
This commit is contained in:
parent
a179893d70
commit
8677035989
|
@ -249,7 +249,7 @@ __asm (
|
||||||
"retq\n"
|
"retq\n"
|
||||||
"finish:\n"
|
"finish:\n"
|
||||||
"xor %rcx,%rcx\n"
|
"xor %rcx,%rcx\n"
|
||||||
"callq 0x63\n"
|
"callq _exit\n"
|
||||||
"hlt\n"
|
"hlt\n"
|
||||||
" .seh_endproc\n"
|
" .seh_endproc\n"
|
||||||
".def _exit; .scl 2; .type 32; .endef \n"
|
".def _exit; .scl 2; .type 32; .endef \n"
|
||||||
|
|
Loading…
Reference in New Issue