diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2024-03-08 18:16:36 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2024-03-08 18:16:36 +0100 |
| commit | 5debac4c98c1c5c262f5cae3f0cdee8527ef06a6 (patch) | |
| tree | 7ce4c95b85aab60ee0ff629e3b08b5f15975eb24 | |
| parent | 3737abe081c8de2ffb8d4fd10fea01c046c4787b (diff) | |
| download | box64-5debac4c98c1c5c262f5cae3f0cdee8527ef06a6.tar.gz box64-5debac4c98c1c5c262f5cae3f0cdee8527ef06a6.zip | |
Change wrapping of _exit to just exit immediatly as expected
| -rw-r--r-- | src/wrapped/generated/functions_list.txt | 1 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappedlibctypes.h | 1 | ||||
| -rw-r--r-- | src/wrapped/wrappedlibc_private.h | 2 |
3 files changed, 1 insertions, 3 deletions
diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt index ae47954f..055e261b 100644 --- a/src/wrapped/generated/functions_list.txt +++ b/src/wrapped/generated/functions_list.txt @@ -4046,7 +4046,6 @@ wrappedlibc: - __cxa_pure_virtual - __stack_chk_fail - vFi: - - _exit - exit - vFp: - _ITM_deregisterTMCloneTable diff --git a/src/wrapped/generated/wrappedlibctypes.h b/src/wrapped/generated/wrappedlibctypes.h index a7a31670..098ed02d 100644 --- a/src/wrapped/generated/wrappedlibctypes.h +++ b/src/wrapped/generated/wrappedlibctypes.h @@ -100,7 +100,6 @@ typedef int32_t (*iFppipppp_t)(void*, void*, int32_t, void*, void*, void*, void* GO(_Jv_RegisterClasses, vFv_t) \ GO(__cxa_pure_virtual, vFv_t) \ GO(__stack_chk_fail, vFv_t) \ - GO(_exit, vFi_t) \ GO(exit, vFi_t) \ GO(_ITM_deregisterTMCloneTable, vFp_t) \ GO(__cxa_finalize, vFp_t) \ diff --git a/src/wrapped/wrappedlibc_private.h b/src/wrapped/wrappedlibc_private.h index 893515ea..e47216eb 100644 --- a/src/wrapped/wrappedlibc_private.h +++ b/src/wrapped/wrappedlibc_private.h @@ -321,7 +321,7 @@ GOM(execv, iFEpp) GOM(execve, iFEppp) GOM(execvp, iFEpp) GOW(execvpe, iFppp) -GOM(_exit, vFEi) +GO(_exit, vFi) // immediate exit GOM(exit, vFEi) GOW(_Exit, vFi) GO(explicit_bzero, vFpL) |