svn commit: r334523 - in head/sys: amd64/conf conf i386/conf
Bruce Evans
bde at FreeBSD.org
Sat Jun 2 06:40:17 UTC 2018
Author: bde
Date: Sat Jun 2 06:40:15 2018
New Revision: 334523
URL: https://svnweb.freebsd.org/changeset/base/334523
Log:
Finish COMPAT_AOUT support for amd64. It wasn't in any amd64 or MI
file in /sys/conf, so was unavailable in configurations that don't use
modules, and was not testable or notable in NOTES. Its normal
configuration (not using a module) is still silently deprecated in
aout(4) by not mentioning it there.
Update i386 NOTES for COMPAT_AOUT. It is not i386-only, or even very MD.
Sort its entry better.
Finish gzip configuration (but not support) for amd64. gzip is really
gzipped aout. It is currently broken even for i386 (a call to vm fails).
amd64 has always attempted to configure and test it, but it depends on
COMPAT_AOUT (as noted). The bug that it depends on unconfigured files
was not detected since it is configured as a device. All other optional
image activators are configured properly using an option.
Modified:
head/sys/amd64/conf/NOTES
head/sys/conf/files.amd64
head/sys/conf/options.amd64
head/sys/i386/conf/NOTES
Modified: head/sys/amd64/conf/NOTES
==============================================================================
--- head/sys/amd64/conf/NOTES Sat Jun 2 05:48:44 2018 (r334522)
+++ head/sys/amd64/conf/NOTES Sat Jun 2 06:40:15 2018 (r334523)
@@ -632,6 +632,9 @@ options COMPAT_FREEBSD32
# Emulate spx device for client side of SVR3 local X interface
#XXX#options SPX_HACK
+# Enable (32-bit) a.out binary support
+options COMPAT_AOUT
+
# Enable 32-bit runtime support for CloudABI binaries.
options COMPAT_CLOUDABI32
Modified: head/sys/conf/files.amd64
==============================================================================
--- head/sys/conf/files.amd64 Sat Jun 2 05:48:44 2018 (r334522)
+++ head/sys/conf/files.amd64 Sat Jun 2 06:40:15 2018 (r334523)
@@ -617,6 +617,8 @@ dev/isci/scil/scif_sas_timer.c optional isci
isa/syscons_isa.c optional sc
isa/vga_isa.c optional vga
kern/kern_clocksource.c standard
+kern/imgact_aout.c optional compat_aout
+kern/imgact_gzip.c optional gzip
kern/link_elf_obj.c standard
libkern/x86/crc32_sse42.c standard
#
Modified: head/sys/conf/options.amd64
==============================================================================
--- head/sys/conf/options.amd64 Sat Jun 2 05:48:44 2018 (r334522)
+++ head/sys/conf/options.amd64 Sat Jun 2 06:40:15 2018 (r334523)
@@ -14,6 +14,7 @@ PV_STATS opt_pmap.h
# Options for emulators. These should only be used at config time, so
# they are handled like options for static filesystems
# (see src/sys/conf/options), except for broken debugging options.
+COMPAT_AOUT opt_dontuse.h
COMPAT_FREEBSD32 opt_global.h
#IBCS2 opt_dontuse.h
#COMPAT_LINUX opt_dontuse.h
Modified: head/sys/i386/conf/NOTES
==============================================================================
--- head/sys/i386/conf/NOTES Sat Jun 2 05:48:44 2018 (r334522)
+++ head/sys/i386/conf/NOTES Sat Jun 2 06:40:15 2018 (r334523)
@@ -913,14 +913,14 @@ options NKPT=31
# Emulate spx device for client side of SVR3 local X interface
options SPX_HACK
+# Enable (32-bit) a.out binary support
+options COMPAT_AOUT
+
# Enable 32-bit runtime support for CloudABI binaries.
options COMPAT_CLOUDABI32
# Enable Linux ABI emulation
options COMPAT_LINUX
-
-# Enable i386 a.out binary support
-options COMPAT_AOUT
# Enable the linux-like proc filesystem support (requires COMPAT_LINUX
# and PSEUDOFS)
More information about the svn-src-all
mailing list