Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jun 2020 15:36:06 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r362543 - head/libexec/rc/rc.d
Message-ID:  <202006231536.05NFa67D016737@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help

Author: emaste
Date: Tue Jun 23 15:36:05 2020
New Revision: 362543
URL: https://svnweb.freebsd.org/changeset/base/362543

Log:
  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

Modified:
  head/libexec/rc/rc.d/ldconfig

Modified: head/libexec/rc/rc.d/ldconfig
==============================================================================
--- head/libexec/rc/rc.d/ldconfig	Tue Jun 23 15:32:05 2020	(r362542)
+++ head/libexec/rc/rc.d/ldconfig	Tue Jun 23 15:36:05 2020	(r362543)
@@ -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
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006231536.05NFa67D016737>