summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-elf/rtld.1
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-02-17 07:04:32 +0000
committerobrien <obrien@FreeBSD.org>2002-02-17 07:04:32 +0000
commit77f77a885c6ecd4289ef689cfd206aabb1fbf5a7 (patch)
tree1a80ae19e44db239fd35cf2efcadb5a2847964a9 /libexec/rtld-elf/rtld.1
parent8c6ee7cab4c4f47c5652ca5fd0f54eadef837ecf (diff)
downloadFreeBSD-src-77f77a885c6ecd4289ef689cfd206aabb1fbf5a7.zip
FreeBSD-src-77f77a885c6ecd4289ef689cfd206aabb1fbf5a7.tar.gz
Add support such that if LD_TRACE_LOADED_OBJECTS_ALL is defined to a
non-empty string in the environment; we indicate which objects caused each object to be loaded. PR: 30908 Submitted-by: Mike Meyer <mwm@mired.org>
Diffstat (limited to 'libexec/rtld-elf/rtld.1')
-rw-r--r--libexec/rtld-elf/rtld.15
1 files changed, 5 insertions, 0 deletions
diff --git a/libexec/rtld-elf/rtld.1 b/libexec/rtld-elf/rtld.1
index b32b08d..dad1a63 100644
--- a/libexec/rtld-elf/rtld.1
+++ b/libexec/rtld-elf/rtld.1
@@ -107,6 +107,11 @@ When set to a nonempty string, causes
.Nm
to exit after loading the shared objects and printing a summary which includes
the absolute pathnames of all objects, to standard output.
+.It Ev LD_TRACE_LOADED_OBJECTS_ALL
+When set to a nonempty string, causes
+.Nm
+to expand the summary to indicate which objects caused each object to
+be loaded.
.It Ev LD_TRACE_LOADED_OBJECTS_FMT1
.It Ev LD_TRACE_LOADED_OBJECTS_FMT2
When set, these variables are interpreted as format strings a la
OpenPOWER on IntegriCloud