diff options
-rw-r--r-- | arch/nt64/pthread_arch.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/nt64/pthread_arch.h b/arch/nt64/pthread_arch.h index fbbf3cd..5c15b69 100644 --- a/arch/nt64/pthread_arch.h +++ b/arch/nt64/pthread_arch.h @@ -29,7 +29,9 @@ static inline void __pthread_convert(void) __asm__ __volatile__ ( "push %rax\n\t" "movq __psx_vtbl,%rax\n\t" + "sub $0x28,%rsp\n\t" "call *(%rax)\n\t" + "add $0x28,%rsp\n\t" "pop %rax\n\t" ); } |