Commit ccc91f25 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

ntdll: Fix stack alignment on ARM64.

parent a533bf26
......@@ -344,7 +344,7 @@ static EXCEPTION_RECORD *setup_exception( ucontext_t *sigcontext, raise_func fun
} *stack;
DWORD exception_code = 0;
stack = (struct stack_layout *)(SP_sig(sigcontext) & ~3);
stack = (struct stack_layout *)(SP_sig(sigcontext) & ~15);
stack--; /* push the stack_layout structure */
stack->rec.ExceptionRecord = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment