summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2020-06-23 15:36:05 +0000
committerEd Maste <emaste@FreeBSD.org>2020-06-23 15:36:05 +0000
commitaa5e1b42e6e32dd5b54c97f82f5f35c8eb6150f1 (patch)
treedfe84a25afe96bbc5b4376f393a105085f6d3be1 /libexec
parente46cf959d62cf63bd04324ae4d62bd7d0dc5ce5e (diff)
downloadsrc-test2-aa5e1b42e6e32dd5b54c97f82f5f35c8eb6150f1.tar.gz
src-test2-aa5e1b42e6e32dd5b54c97f82f5f35c8eb6150f1.zip
ldconfig: remove i386 aout invocation
aout support in ldconfig hasn't been required since FreeBSD 2.x. Anyone still using FreeBSD 2 shared libraries can use a FreeBSD 2 ldconfig to generate aout ldconfig hints. Reviewed by: dim, kib Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D24883
Notes
Notes: svn path=/head/; revision=362543
Diffstat (limited to 'libexec')
-rwxr-xr-xlibexec/rc/rc.d/ldconfig16
1 files changed, 0 insertions, 16 deletions
diff --git a/libexec/rc/rc.d/ldconfig b/libexec/rc/rc.d/ldconfig
index 81f6951ea839..03627df6da06 100755
--- a/libexec/rc/rc.d/ldconfig
+++ b/libexec/rc/rc.d/ldconfig
@@ -85,22 +85,6 @@ ldconfig_start()
${ldconfig} -soft ${_ins} ${_LDC}
;;
esac
-
- # Legacy aout support for i386 only
- case ${machine_arch} in
- i386)
- # Default the a.out ldconfig path.
- : ${ldconfig_paths_aout=${ldconfig_paths}}
- _LDC=""
- for i in /usr/lib/aout ${ldconfig_paths_aout} /etc/ld.so.conf; do
- if [ -r "${i}" ]; then
- _LDC="${_LDC} ${i}"
- fi
- done
- check_startmsgs && echo 'a.out ldconfig path:' ${_LDC}
- ${ldconfig} -aout ${_ins} ${_LDC}
- ;;
- esac
fi
}