summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-elf/rtld.1
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2003-06-19 03:55:38 +0000
committermdodd <mdodd@FreeBSD.org>2003-06-19 03:55:38 +0000
commitca4dc263500f579375794e3f00560f5dbdef5a4f (patch)
tree79ce4076fa3de213bb6c88e48a06c7412fb332e8 /libexec/rtld-elf/rtld.1
parentb30ab680435de281a79997c003bace36f138771b (diff)
downloadFreeBSD-src-ca4dc263500f579375794e3f00560f5dbdef5a4f.zip
FreeBSD-src-ca4dc263500f579375794e3f00560f5dbdef5a4f.tar.gz
Provide a mechanism for dumping relocation information.
Setting the LD_DUMP_REL_PRE or LD_DUMP_REL_POST environment variables cause rtld-elf to output a table of all relocations. This is useful for debugging.
Diffstat (limited to 'libexec/rtld-elf/rtld.1')
-rw-r--r--libexec/rtld-elf/rtld.110
1 files changed, 10 insertions, 0 deletions
diff --git a/libexec/rtld-elf/rtld.1 b/libexec/rtld-elf/rtld.1
index 6c74a62..d466b11 100644
--- a/libexec/rtld-elf/rtld.1
+++ b/libexec/rtld-elf/rtld.1
@@ -83,6 +83,16 @@ recognizes a number of environment variables that can be used to modify
its behaviour as follows:
.Pp
.Bl -tag -width ".Ev LD_LIBMAP_DISABLE"
+.It Ev LD_DUMP_REL_POST
+If set
+.Nm
+will print (to stderr) a table containing all relocations after symbol
+binding and relocation.
+.It Ev LD_DUMP_REL_PRE
+If set
+.Nm
+will print (to stderr) a table containing all relocations before symbol
+binding and relocation.
.It Ev LD_LIBMAP_DISABLE
If set, disables the use of
.Xr libmap.conf 5 .
OpenPOWER on IntegriCloud