You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-09-12 18:50:20 -07:00
Rebase against 21763489982177f4db9e5f8cc8ccb751441f5a2e.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 3966912cf531178531910e730e2e88bc05448556 Mon Sep 17 00:00:00 2001
|
||||
From f0fe03443eddebbe3997e9ca9e4ed6d8954b159b Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Lackner <sebastian@fds-team.de>
|
||||
Date: Wed, 19 Jul 2017 01:20:01 +0200
|
||||
Subject: ntdll: Clear upper WORD of segment registers in RtlCaptureContext.
|
||||
@@ -8,10 +8,10 @@ Subject: ntdll: Clear upper WORD of segment registers in RtlCaptureContext.
|
||||
1 file changed, 6 insertions(+)
|
||||
|
||||
diff --git a/dlls/ntdll/signal_i386.c b/dlls/ntdll/signal_i386.c
|
||||
index 9a25468308b..24f797ffaf9 100644
|
||||
index 9c4c07dea4a..03c0f5ebc79 100644
|
||||
--- a/dlls/ntdll/signal_i386.c
|
||||
+++ b/dlls/ntdll/signal_i386.c
|
||||
@@ -1241,9 +1241,13 @@ __ASM_STDCALL_FUNC( RtlCaptureContext, 4,
|
||||
@@ -1228,9 +1228,13 @@ __ASM_STDCALL_FUNC( RtlCaptureContext, 4,
|
||||
"movl 8(%esp),%eax\n\t" /* context */
|
||||
"movl $0x10007,(%eax)\n\t" /* context->ContextFlags */
|
||||
"movw %gs,0x8c(%eax)\n\t" /* context->SegGs */
|
||||
@@ -25,16 +25,16 @@ index 9a25468308b..24f797ffaf9 100644
|
||||
"movl %edi,0x9c(%eax)\n\t" /* context->Edi */
|
||||
"movl %esi,0xa0(%eax)\n\t" /* context->Esi */
|
||||
"movl %ebx,0xa4(%eax)\n\t" /* context->Ebx */
|
||||
@@ -1253,6 +1257,7 @@ __ASM_STDCALL_FUNC( RtlCaptureContext, 4,
|
||||
"movl 4(%esp),%edx\n\t"
|
||||
@@ -1241,6 +1245,7 @@ __ASM_STDCALL_FUNC( RtlCaptureContext, 4,
|
||||
"movl 4(%ebp),%edx\n\t"
|
||||
"movl %edx,0xb8(%eax)\n\t" /* context->Eip */
|
||||
"movw %cs,0xbc(%eax)\n\t" /* context->SegCs */
|
||||
+ "movw $0,0xbe(%eax)\n\t"
|
||||
"pushfl\n\t"
|
||||
__ASM_CFI(".cfi_adjust_cfa_offset 4\n\t")
|
||||
"popl 0xc0(%eax)\n\t" /* context->EFlags */
|
||||
@@ -1260,6 +1265,7 @@ __ASM_STDCALL_FUNC( RtlCaptureContext, 4,
|
||||
"leal 8(%esp),%edx\n\t"
|
||||
@@ -1248,6 +1253,7 @@ __ASM_STDCALL_FUNC( RtlCaptureContext, 4,
|
||||
"leal 8(%ebp),%edx\n\t"
|
||||
"movl %edx,0xc4(%eax)\n\t" /* context->Esp */
|
||||
"movw %ss,0xc8(%eax)\n\t" /* context->SegSs */
|
||||
+ "movw $0,0xca(%eax)\n\t"
|
||||
|
||||
1
patches/ntdll-RtlCaptureContext/definition
Normal file
1
patches/ntdll-RtlCaptureContext/definition
Normal file
@@ -0,0 +1 @@
|
||||
Disabled: true
|
||||
Reference in New Issue
Block a user