ntdll: Fix stack adjustment condition in call_user_exception_dispatcher on x86_64.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e722660114
commit
095b0f5acc
|
@ -2003,7 +2003,7 @@ __ASM_GLOBAL_FUNC( call_user_exception_dispatcher,
|
||||||
"movq 0x98(%rdx),%r9\n\t" /* context->Rsp */
|
"movq 0x98(%rdx),%r9\n\t" /* context->Rsp */
|
||||||
"andq $~0xf,%r9\n\t"
|
"andq $~0xf,%r9\n\t"
|
||||||
"subq $0x630,%r9\n\t" /* sizeof(struct stack_layout) */
|
"subq $0x630,%r9\n\t" /* sizeof(struct stack_layout) */
|
||||||
"cmpq %r9,%rsp\n\t"
|
"cmpq %rsp,%r9\n\t"
|
||||||
"cmovbq %r9,%rsp\n\t"
|
"cmovbq %r9,%rsp\n\t"
|
||||||
"jmp " __ASM_NAME("do_call_user_exception_dispatcher") "\n\t")
|
"jmp " __ASM_NAME("do_call_user_exception_dispatcher") "\n\t")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue