blob: 7b661a01778da0cb59075929813881111f903675 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-ai,v 1.3 2003/06/23 19:48:24 jtb Exp $
--- EnginePl/machine.c.orig
+++ EnginePl/machine.c
@@ -480,7 +480,7 @@
static void
SIGSEGV_Handler(int sig, siginfo_t * si)
-#elif defined(M_ix86_bsd)
+#elif defined(M_ix86_bsd) || defined(M_powerpc_bsd)
static void
SIGSEGV_Handler(int sig, int code, struct sigcontext *scp)
@@ -528,7 +528,7 @@
WamWord *addr = (WamWord *) si->si_addr;
-#elif defined(M_ix86_bsd)
+#elif defined(M_ix86_bsd) || defined(M_powerpc_bsd)
WamWord *addr = (WamWord *) scp->sc_err;
|