path: root/sys/conf
diff options
authorBruce Evans <bde@FreeBSD.org>2018-06-02 06:40:15 +0000
committerBruce Evans <bde@FreeBSD.org>2018-06-02 06:40:15 +0000
commitc507c512b991dd60f4889c43da44c3260cbcf802 (patch)
tree2f1c5f2cea026b20a6a5300f85a76a14228930fe /sys/conf
parent49c871278a2004345c7abbdc1ef0a560121b6c06 (diff)
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.
Notes: svn path=/head/; revision=334523
Diffstat (limited to 'sys/conf')
2 files changed, 3 insertions, 0 deletions
diff --git a/sys/conf/files.amd64 b/sys/conf/files.amd64
index 1de5fde27f7b..376878aa3ee0 100644
--- a/sys/conf/files.amd64
+++ b/sys/conf/files.amd64
@@ -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
diff --git a/sys/conf/options.amd64 b/sys/conf/options.amd64
index 6da1dff23b8c..1edb70164a8f 100644
--- a/sys/conf/options.amd64
+++ b/sys/conf/options.amd64
@@ -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