Module Name: src
Committed By: pgoyette
Date: Wed Mar 4 02:20:57 UTC 2020
Modified Files:
src/sys/conf: files
Log Message:
mips64 has compat_netbsd32 but cannot have exec_aout; all other users
of compat_netbsd32 need exec_aout
Addresses PR kern/55037.
XXX pullup-9
To generate a diff of this commit:
cvs rdiff -u -r1.1256 -r1.1257 src/sys/conf/files
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/conf/files
diff -u src/sys/conf/files:1.1256 src/sys/conf/files:1.1257
--- src/sys/conf/files:1.1256 Sat Feb 22 00:28:35 2020
+++ src/sys/conf/files Wed Mar 4 02:20:56 2020
@@ -1,4 +1,4 @@
-# $NetBSD: files,v 1.1256 2020/02/22 00:28:35 jmcneill Exp $
+# $NetBSD: files,v 1.1257 2020/03/04 02:20:56 pgoyette Exp $
# @(#)files.newconf 7.5 (Berkeley) 5/10/93
version 20171118
@@ -164,7 +164,15 @@ defflag COMPAT_FREEBSD: COMPAT_09, CO
defflag COMPAT_LINUX: COMPAT_NETBSD, COMPAT_43
defflag COMPAT_SUNOS: COMPAT_09, COMPAT_43
defflag COMPAT_ULTRIX: COMPAT_50
+
+# mips64 has COMPAT_NETBSD64 but cannot have EXEC_AOUT; all other users
+# of COMPAT_NETBSD64 need EXEC_AOUT
+ifdef mips
defflag COMPAT_NETBSD32
+else
+defflag COMPAT_NETBSD32 : EXEC_AOUT
+endif
+
defflag COMPAT_SYSV
defflag SYSV_IPC : SYSVSHM, SYSVSEM, SYSVMSG
defflag COMPAT_NETBSD32_SYSVIPC : SYSV_IPC,