summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/powerpc/powerpc/trap.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/powerpc/powerpc/trap.c b/sys/arch/powerpc/powerpc/trap.c
index 13e4f219d8c..998ecd50c1c 100644
--- a/sys/arch/powerpc/powerpc/trap.c
+++ b/sys/arch/powerpc/powerpc/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.19 2000/07/08 19:43:39 rahnds Exp $ */
+/* $OpenBSD: trap.c,v 1.20 2000/09/06 22:48:13 rahnds Exp $ */
/* $NetBSD: trap.c,v 1.3 1996/10/13 03:31:37 christos Exp $ */
/*
@@ -332,6 +332,11 @@ syscall_bad:
enable_fpu(p);
break;
+ case EXC_ALI|EXC_USER:
+ /* alignment exception, kill process */
+ trapsignal(p, SIGSEGV, VM_PROT_EXECUTE, SEGV_MAPERR, sv);
+ break;
+
default:
brain_damage: