From 93f47cf23adf514e35e20692d4f2a3dd9cae0493 Mon Sep 17 00:00:00 2001 From: dchagin Date: Tue, 15 Mar 2016 19:34:58 +0000 Subject: [PATCH] MFS r296797: MFC r296542: Load linux64 module for amd64 if Linux abi enabled. Reviewed by: emaste@ Approved by: re (marius) Differential Revision: https://reviews.freebsd.org/D5567 git-svn-id: svn://svn.freebsd.org/base/releng/10.3@296916 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- etc/rc.d/abi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/etc/rc.d/abi b/etc/rc.d/abi index 3765b0581..502184384 100755 --- a/etc/rc.d/abi +++ b/etc/rc.d/abi @@ -27,6 +27,11 @@ linux_start() echo -n ' linux' load_kld -e 'linux(aout|elf)' linux + case `sysctl -n hw.machine_arch` in + amd64) + load_kld -e 'linux64elf' linux64 + ;; + esac if [ -x /compat/linux/sbin/ldconfigDisabled ]; then _tmpdir=`mktemp -d -t linux-ldconfig` /compat/linux/sbin/ldconfig -C ${_tmpdir}/ld.so.cache -- 2.42.0