From owner-svn-src-all@FreeBSD.ORG Tue Mar 19 16:57:04 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E713AFA5; Tue, 19 Mar 2013 16:57:04 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id D9C5A685; Tue, 19 Mar 2013 16:57:04 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r2JGv4QQ064063; Tue, 19 Mar 2013 16:57:04 GMT (envelope-from imp@svn.freebsd.org) Received: (from imp@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r2JGv4hk064062; Tue, 19 Mar 2013 16:57:04 GMT (envelope-from imp@svn.freebsd.org) Message-Id: <201303191657.r2JGv4hk064062@svn.freebsd.org> From: Warner Losh Date: Tue, 19 Mar 2013 16:57:04 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r248525 - head/sbin/ldconfig X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Mar 2013 16:57:05 -0000 Author: imp Date: Tue Mar 19 16:57:04 2013 New Revision: 248525 URL: http://svnweb.freebsd.org/changeset/base/248525 Log: Add a comment about why aout support is still here: We need it for compat2x, which is still in use, as evidence by recent bug reports. Modified: head/sbin/ldconfig/ldconfig.c Modified: head/sbin/ldconfig/ldconfig.c ============================================================================== --- head/sbin/ldconfig/ldconfig.c Tue Mar 19 16:33:43 2013 (r248524) +++ head/sbin/ldconfig/ldconfig.c Tue Mar 19 16:57:04 2013 (r248525) @@ -97,6 +97,13 @@ static void listhints(void); static int readhints(void); static void usage(void); +/* + * Note on aout/a.out support. + * To properly support shared libraries for compat2x, which are a.out, we need + * to support a.out here. As of 2013, bug reports are still coming in for this + * feature (on amd64 no less), so we know it is still in use. + */ + int main(int argc, char **argv) {