Source-Changes-HG archive

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

[src/netbsd-9]: src/sys/conf Pull up following revision(s) (requested by pgoy...



details:   https://anonhg.NetBSD.org/src/rev/7c09eb34c777
branches:  netbsd-9
changeset: 745645:7c09eb34c777
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Mar 08 10:18:04 2020 +0000

description:
Pull up following revision(s) (requested by pgoyette in ticket #757):

        sys/conf/files: revision 1.1257
        sys/conf/files: revision 1.1258
        sys/conf/files: revision 1.1259

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

Fix comment - thanks Ryo Shimizu

Also exclude EXEC_AOUT stuff for aarch64
XXX Pullup-9 and -8

diffstat:

 sys/conf/files |  12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 63e0d1eb2e4e -r 7c09eb34c777 sys/conf/files
--- a/sys/conf/files    Tue Mar 03 18:56:34 2020 +0000
+++ b/sys/conf/files    Sun Mar 08 10:18:04 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files,v 1.1237.2.4 2020/01/21 15:53:39 martin Exp $
+#      $NetBSD: files,v 1.1237.2.5 2020/03/08 10:18:04 martin Exp $
 #      @(#)files.newconf       7.5 (Berkeley) 5/10/93
 
 version        20171118
@@ -162,7 +162,17 @@
 defflag                                COMPAT_LINUX: COMPAT_NETBSD, COMPAT_43
 defflag                                COMPAT_SUNOS: COMPAT_09, COMPAT_43
 defflag                                COMPAT_ULTRIX: COMPAT_50
+
+# mips64 and aarch64 have COMPAT_NETBSD32 but cannot have EXEC_AOUT; all
+# other users of COMPAT_NETBSD32 need EXEC_AOUT
+ifdef mips
 defflag                                COMPAT_NETBSD32
+elifdef aarch64
+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