libcontext: Call exit instead of random memory address on MSW x86_64

cherrypick of 580293c7fa

See #6820
This commit is contained in:
Marek Roszko 2021-01-02 16:18:10 -05:00
parent a179893d70
commit 8677035989
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@ __asm (
"retq\n"
"finish:\n"
"xor %rcx,%rcx\n"
"callq 0x63\n"
"callq _exit\n"
"hlt\n"
" .seh_endproc\n"
".def _exit; .scl 2; .type 32; .endef \n"