summaryrefslogtreecommitdiff
path: root/lang/gprolog/patches/patch-ah
blob: 57d920fde0b0ec86a94ecc648b16928005ce56ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ah,v 1.4 2003/07/07 21:31:54 jtb Exp $

--- EnginePl/machine.h.orig
+++ EnginePl/machine.h
@@ -125,11 +125,7 @@
 #    define M_USED_REGS            {"ebx", "ebp", 0}
 #endif
 
-#elif defined(M_powerpc_linux)
-
-#    define M_USED_REGS            {"15", "20", 0}
-
-#elif defined(M_powerpc_darwin)
+#elif defined(M_powerpc_linux) || defined(M_powerpc_darwin) || defined(M_powerpc_bsd)
 
 #    define M_USED_REGS            {"15", "20", 0}