Correct explanation of the dynamic tokens handling.

Reviewed by:	emaste, jonathan
Sponsored by:	The FreeBSD Foundation
X-Differential Revision:	https://reviews.freebsd.org/D10826
This commit is contained in:
Konstantin Belousov 2017-05-29 13:36:32 +00:00
parent b05c7cdeb1
commit 18934eb6b8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=319137

View File

@ -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"