-/* $OpenBSD: trap.c,v 1.12 2017/12/18 20:03:48 kettenis Exp $ */
+/* $OpenBSD: trap.c,v 1.13 2017/12/24 10:32:25 kettenis Exp $ */
/*-
* Copyright (c) 2014 Andrew Turner
* All rights reserved.
sv.sival_ptr = (void *)frame->tf_elr;
trapsignal(p, SIGBUS, 0, BUS_ADRALN, sv);
break;
+ case EXCP_SP_ALIGN:
+ vfp_save();
+ sv.sival_ptr = (void *)frame->tf_sp;
+ trapsignal(p, SIGBUS, 0, BUS_ADRALN, sv);
+ break;
case EXCP_DATA_ABORT_L:
vfp_save();
data_abort(frame, esr, 1, 0);