- make this work on mips64el too, giving bash and bison a chance to build as well.

ok naddy@
This commit is contained in:
jasper 2010-02-07 21:02:46 +00:00
parent f3790e41d6
commit 733af9e6e8
2 changed files with 9 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# $OpenBSD: Makefile,v 1.5 2009/12/28 14:59:09 pirofti Exp $
# $OpenBSD: Makefile,v 1.6 2010/02/07 21:02:46 jasper Exp $
ONLY_FOR_ARCHS = alpha amd64 arm i386 m68k mips64 powerpc sparc64 sparc sh
ONLY_FOR_ARCHS = alpha amd64 arm i386 m68k mips64 mips64el powerpc sparc64 sparc sh
COMMENT = library for handling page faults in user mode

View File

@ -0,0 +1,7 @@
$OpenBSD: patch-src_fault-openbsd-mips64el_h,v 1.1 2010/02/07 21:02:46 jasper Exp $
--- src/fault-openbsd-mips64el.h.orig Fri Jun 29 00:21:18 2007
+++ src/fault-openbsd-mips64el.h Fri Jun 29 00:22:15 2007
@@ -0,0 +1,3 @@
+#include "fault-openbsd.h"
+
+#define SIGSEGV_FAULT_STACKPOINTER scp->sc_regs[29]