Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/conf mips64 has compat_netbsd32 but cannot have exec_aou...



details:   https://anonhg.NetBSD.org/src/rev/ab2284980f58
branches:  trunk
changeset: 1007909:ab2284980f58
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Wed Mar 04 02:20:56 2020 +0000

description:
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

diffstat:

 sys/conf/files |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 3be3f2811479 -r ab2284980f58 sys/conf/files
--- a/sys/conf/files    Wed Mar 04 01:23:08 2020 +0000
+++ b/sys/conf/files    Wed Mar 04 02:20:56 2020 +0000
@@ -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_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,



Home | Main Index | Thread Index | Old Index