Alexandre Julliard : ntdll: Don' t set floating point registers from initial context.
Alexandre Julliard
julliard at winehq.org
Tue Jan 2 13:19:01 CST 2018
Module: wine
Branch: master
Commit: 5020fb7c478a080461df8655a3eac629648c4488
URL: https://source.winehq.org/git/wine.git/?a=commit;h=5020fb7c478a080461df8655a3eac629648c4488
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Jan 2 13:25:50 2018 +0100
ntdll: Don't set floating point registers from initial context.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/ntdll/signal_i386.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/ntdll/signal_i386.c b/dlls/ntdll/signal_i386.c
index 07425e2..dcca0f5 100644
--- a/dlls/ntdll/signal_i386.c
+++ b/dlls/ntdll/signal_i386.c
@@ -2897,6 +2897,7 @@ __ASM_GLOBAL_FUNC( start_thread,
"call " __ASM_NAME("virtual_clear_thread_stack") "\n\t"
/* switch to the initial context */
"movl %esi,(%esp)\n\t"
+ "movl $0x10007,(%esi)\n\t" /* context->ContextFlags = CONTEXT_FULL */
"call " __ASM_NAME("set_cpu_context") )
extern void DECLSPEC_NORETURN call_thread_exit_func( int status, void (*func)(int) );
More information about the wine-cvs
mailing list