ntdll: Fix stack alignment on ARM64.

This commit is contained in:
André Hentschel 2015-08-10 19:49:45 +02:00 committed by Alexandre Julliard
parent a533bf26ce
commit ccc91f25c6

View file

@ -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;