Module Name: src
Committed By: christos
Date: Sat Feb 1 14:05:32 UTC 2025
Modified Files:
src/usr.bin/ldd: ldd.1
Log Message:
Clarify how the main object pathname is set.
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/usr.bin/ldd/ldd.1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/ldd/ldd.1
diff -u src/usr.bin/ldd/ldd.1:1.23 src/usr.bin/ldd/ldd.1:1.24
--- src/usr.bin/ldd/ldd.1:1.23 Sat Feb 1 08:15:17 2025
+++ src/usr.bin/ldd/ldd.1 Sat Feb 1 09:05:32 2025
@@ -1,4 +1,4 @@
-.\" $NetBSD: ldd.1,v 1.23 2025/02/01 13:15:17 uwe Exp $
+.\" $NetBSD: ldd.1,v 1.24 2025/02/01 14:05:32 christos Exp $
.\"
.\" Copyright (c) 1998 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -27,7 +27,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd January 31, 2025
+.Dd February 1, 2025
.Dt LDD 1
.Os
.
@@ -70,8 +70,11 @@ The following conversions can be used:
.Bl -tag -width Ds -offset indent
.
.It Li %a
-The main program's name, either set from
+The main program's name, either set from the
+.Xr elf 5
+auxiliary vector entry
.Dv AT_SUN_EXECNAME
+passed from the kernel to rhe dynamic linker,
or from the first element of the argument vector.
.
.It Li \&%A \" NB: .%A is a mdoc macro name