Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Mar 2020 15:57:25 +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: r359037 - head/sbin/ldconfig
Message-ID:  <202003171557.02HFvPIL050879@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Tue Mar 17 15:57:25 2020
New Revision: 359037
URL: https://svnweb.freebsd.org/changeset/base/359037

Log:
  ldconfig: add aout deprecation notice
  
  aout support in ldconfig hasn't been required since FreeBSD 2.x.
  Anyone still using FreeBSD 2 shared libraries can also use a FreeBSD 2
  ldconfig to generate aout ldconfig hints.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sbin/ldconfig/ldconfig.8
  head/sbin/ldconfig/ldconfig.c

Modified: head/sbin/ldconfig/ldconfig.8
==============================================================================
--- head/sbin/ldconfig/ldconfig.8	Tue Mar 17 14:59:24 2020	(r359036)
+++ head/sbin/ldconfig/ldconfig.8	Tue Mar 17 15:57:25 2020	(r359037)
@@ -29,7 +29,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd January 6, 2018
+.Dd March 17, 2020
 .Dt LDCONFIG 8
 .Os
 .Sh NAME
@@ -111,6 +111,8 @@ Generate the hints for 32-bit ABI shared libraries
 on 64-bit systems that support running 32-bit binaries.
 .It Fl aout
 Generate the hints for a.out format shared libraries.
+This option is deprecated and is not present in
+.Fx 13 .
 .It Fl elf
 Generate the hints for ELF format shared libraries.
 .It Fl R

Modified: head/sbin/ldconfig/ldconfig.c
==============================================================================
--- head/sbin/ldconfig/ldconfig.c	Tue Mar 17 14:59:24 2020	(r359036)
+++ head/sbin/ldconfig/ldconfig.c	Tue Mar 17 15:57:25 2020	(r359037)
@@ -118,6 +118,7 @@ main(int argc, char **argv)
 
 	while (argc > 1) {
 		if (strcmp(argv[1], "-aout") == 0) {
+			warnx("aout support is deprecated");
 			is_aout = 1;
 			argc--;
 			argv++;



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