forked from Mirrors/wine-wine
ntdll: Make sure the stack is quad-word aligned on ARM64.
Signed-off-by: André Hentschel <nerv@dawncrow.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>oldstable
parent
ae3adacdde
commit
2e9611bbd0
|
@ -386,8 +386,8 @@ static EXCEPTION_RECORD *setup_exception( ucontext_t *sigcontext, raise_func fun
|
||||||
} *stack;
|
} *stack;
|
||||||
DWORD exception_code = 0;
|
DWORD exception_code = 0;
|
||||||
|
|
||||||
stack = (struct stack_layout *)(SP_sig(sigcontext) & ~15);
|
/* push the stack_layout structure */
|
||||||
stack--; /* push the stack_layout structure */
|
stack = (struct stack_layout *)((SP_sig(sigcontext) - sizeof(*stack)) & ~15);
|
||||||
|
|
||||||
stack->rec.ExceptionRecord = NULL;
|
stack->rec.ExceptionRecord = NULL;
|
||||||
stack->rec.ExceptionCode = exception_code;
|
stack->rec.ExceptionCode = exception_code;
|
||||||
|
|
Loading…
Reference in New Issue