about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-03-28 18:55:37 +0200
committerptitSeb <sebastien.chev@gmail.com>2021-03-28 18:55:37 +0200
commitda7a7a4d0e705ac4da6f663593615c173af525e2 (patch)
treeda65a223678b56c2f48508b031404106c92df07d /src
parent84a1b6976ff5a32889a14a090d94bdcebe88632f (diff)
downloadbox64-da7a7a4d0e705ac4da6f663593615c173af525e2.tar.gz
box64-da7a7a4d0e705ac4da6f663593615c173af525e2.zip
Removed a useless line in setjump wrapped function
Diffstat (limited to 'src')
-rwxr-xr-xsrc/wrapped/wrappedlibc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/wrapped/wrappedlibc.c b/src/wrapped/wrappedlibc.c
index a52fd186..dcd440d7 100755
--- a/src/wrapped/wrappedlibc.c
+++ b/src/wrapped/wrappedlibc.c
@@ -1849,7 +1849,6 @@ EXPORT int32_t my_setjmp(x64emu_t* emu, /*struct __jmp_buf_tag __env[1]*/void *p
     jpbuff->save_r13 = R_R13;
     jpbuff->save_r14 = R_R14;
     jpbuff->save_r15 = R_R15;
-    jpbuff->save_rsp = R_RSP;
     jpbuff->save_rsp = R_RSP+sizeof(uintptr_t); // include "return address"
     jpbuff->save_rip = *(uintptr_t*)(R_RSP);
     // and that's it.. Nothing more for now