Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Nov 2018 16:52:31 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r340769 - stable/12/usr.bin/ldd
Message-ID:  <201811221652.wAMGqVtc089428@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Thu Nov 22 16:52:30 2018
New Revision: 340769
URL: https://svnweb.freebsd.org/changeset/base/340769

Log:
  MFC r339653:
  Add an IMPLEMENTATION NOTES section to ldd.1.
  
  PR:	231926

Modified:
  stable/12/usr.bin/ldd/ldd.1
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/usr.bin/ldd/ldd.1
==============================================================================
--- stable/12/usr.bin/ldd/ldd.1	Thu Nov 22 16:27:30 2018	(r340768)
+++ stable/12/usr.bin/ldd/ldd.1	Thu Nov 22 16:52:30 2018	(r340769)
@@ -1,6 +1,6 @@
 .\" $FreeBSD$
 .\"
-.Dd May 15, 2008
+.Dd October 23, 2018
 .Dt LDD 1
 .Os
 .Sh NAME
@@ -57,6 +57,14 @@ option displays a verbose listing of the dynamic linki
 encoded in the executable.
 See the source code and include
 files for the definitive meaning of all the fields.
+.Sh IMPLEMENTATION NOTES
+.Nm
+lists the dependencies of an executable by setting
+.Xr rtld 1
+environment variables and running the executable in a child process.
+If the executable is corrupt or invalid,
+.Nm
+may therefore fail without providing any diagnostic error messages.
 .Sh EXAMPLES
 The following is an example of a shell pipeline which uses the
 .Fl f
@@ -67,6 +75,7 @@ which link against libc.so.6:
 .Sh SEE ALSO
 .Xr ld 1 ,
 .Xr nm 1 ,
+.Xr readelf 1 ,
 .Xr rtld 1
 .Sh HISTORY
 A



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