Module Name: src
Committed By: matt
Date: Sat Sep 12 18:25:25 UTC 2009
Modified Files:
src/sys/arch/pmax/conf [matt-nb5-mips64]: std.pmax64
Added Files:
src/sys/arch/pmax/include [matt-nb5-mips64]: netbsd32_machdep.h
Log Message:
Add COMPAT_NETBSD32 support.
To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/arch/pmax/conf/std.pmax64
cvs rdiff -u -r0 -r1.1.2.1 src/sys/arch/pmax/include/netbsd32_machdep.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/pmax/conf/std.pmax64
diff -u src/sys/arch/pmax/conf/std.pmax64:1.1.2.1 src/sys/arch/pmax/conf/std.pmax64:1.1.2.2
--- src/sys/arch/pmax/conf/std.pmax64:1.1.2.1 Tue Sep 8 17:24:08 2009
+++ src/sys/arch/pmax/conf/std.pmax64 Sat Sep 12 18:25:25 2009
@@ -1,4 +1,4 @@
-# $NetBSD: std.pmax64,v 1.1.2.1 2009/09/08 17:24:08 matt Exp $
+# $NetBSD: std.pmax64,v 1.1.2.2 2009/09/12 18:25:25 matt Exp $
# standard, required pmax info
machine pmax mips
@@ -7,8 +7,9 @@
# Standard exec-package options
options EXEC_ELF64
-#options EXEC_ELF32 # 32-bit ELF support (native format)
+options EXEC_ELF32 # 32-bit ELF support (native format)
options EXEC_SCRIPT # exec of #! scripts
+options COMPAT_NETBSD32 # exec NetBSD 32-bit binaries
makeoptions DEFTEXTADDR="0x80030000"
makeoptions LP64="yes"
Added files:
Index: src/sys/arch/pmax/include/netbsd32_machdep.h
diff -u /dev/null src/sys/arch/pmax/include/netbsd32_machdep.h:1.1.2.1
--- /dev/null Sat Sep 12 18:25:26 2009
+++ src/sys/arch/pmax/include/netbsd32_machdep.h Sat Sep 12 18:25:25 2009
@@ -0,0 +1,3 @@
+/* $NetBSD: netbsd32_machdep.h,v 1.1.2.1 2009/09/12 18:25:25 matt Exp $ */
+
+#include <mips/netbsd32_machdep.h>