diff options
author | kib <kib@FreeBSD.org> | 2009-04-01 14:38:20 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2009-04-01 14:38:20 +0000 |
commit | 2b9fbfce360862ff65c64e555c8822cb4380214f (patch) | |
tree | 56e480e79e99cf955457aad7e57d3f0398ec5ff1 /libexec/rtld-elf | |
parent | a2d099881f505e260d06d2a500630b2db36d44f1 (diff) | |
download | FreeBSD-src-2b9fbfce360862ff65c64e555c8822cb4380214f.zip FreeBSD-src-2b9fbfce360862ff65c64e555c8822cb4380214f.tar.gz |
Document RTLD_NODELETE, -z nodelete and -z origin support.
Diffstat (limited to 'libexec/rtld-elf')
-rw-r--r-- | libexec/rtld-elf/rtld.1 | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/libexec/rtld-elf/rtld.1 b/libexec/rtld-elf/rtld.1 index 81f3685..839d5f1 100644 --- a/libexec/rtld-elf/rtld.1 +++ b/libexec/rtld-elf/rtld.1 @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd March 23, 2009 +.Dd April 1, 2009 .Dt RTLD 1 .Os .Sh NAME @@ -58,6 +58,25 @@ to be called on a per-object basis, giving a shared object an opportunity to perform any extra set-up before execution of the program proper begins. 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 +.Fl "z origin" +option of the static linker +.Xr ld 1 . +The following strings are recognized now: +.Bl -tag -width ".Pa $PLATFORM" +.It Pa $ORIGIN +Translated to the full path of the loaded object. +.It Pa $OSNAME +Translated to the name of the operating system implementation. +.It Pa $OSREL +Translated to the release level of the operating system. +.It Pa $PLATFORM +Translated to the machine hardware platform. +.El +.Pp The .Nm utility itself is loaded by the kernel together with any dynamically-linked |