summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2017-06-01 00:50:58 +0000
committerkib <kib@FreeBSD.org>2017-06-01 00:50:58 +0000
commitce1fca000ff417689552ae31824c805ee6999b19 (patch)
treedef910ca3ca3cd8eeb42d7bf02af049746bd9845
parentb219279854d1685c5b9408be89ac94aaa39d32fe (diff)
downloadFreeBSD-src-ce1fca000ff417689552ae31824c805ee6999b19.zip
FreeBSD-src-ce1fca000ff417689552ae31824c805ee6999b19.tar.gz
MFC r319137:
Correct explanation of the dynamic tokens handling.
-rw-r--r--libexec/rtld-elf/rtld.19
1 files changed, 5 insertions, 4 deletions
diff --git a/libexec/rtld-elf/rtld.1 b/libexec/rtld-elf/rtld.1
index b05cfda..fee47dc 100644
--- a/libexec/rtld-elf/rtld.1
+++ b/libexec/rtld-elf/rtld.1
@@ -28,7 +28,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd March 16, 2017
+.Dd May 20, 2017
.Dt RTLD 1
.Os
.Sh NAME
@@ -60,10 +60,11 @@ This is useful for C++ libraries that contain static constructors.
.Pp
When resolving dependencies for the loaded objects,
.Nm
-may be allowed to translate dynamic token strings in rpath and soname
-by setting
+translates dynamic token strings in rpath and soname.
+If the
.Fl "z origin"
-option of the static linker
+option of the static linker was set when linking the binary,
+the token expansion is performed at the object load time, see
.Xr ld 1 .
The following strings are recognized now:
.Bl -tag -width ".Pa $PLATFORM"
OpenPOWER on IntegriCloud