ld.so.8: Document LD_USE_LOAD_BIAS

Drawing heavily on Jakub Jelinek's description in
http://sources.redhat.com/ml/libc-hacker/2003-11/msg00127.html
(Subject: [PATCH] Support LD_USE_LOAD_BIAS)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2008-10-27 17:13:03 -05:00
parent 5f5d178d9e
commit 016b76edce
1 changed files with 19 additions and 0 deletions

View File

@ -159,6 +159,25 @@ instead of running normally.
Then there are lots of more or less obscure variables,
many obsolete or only for internal use.
.TP
.B LD_USE_LOAD_BIAS
.\" http://sources.redhat.com/ml/libc-hacker/2003-11/msg00127.html
.\" Subject: [PATCH] Support LD_USE_LOAD_BIAS
.\" Jakub Jelinek
By default (i.e., if this variable is not defined)
executables and prelinked
shared objects will honor base addresses of their dependent libraries
and (non-prelinked) position-independent executables (PIEs)
and other shared objects will not honor them.
If
.B LD_USE_LOAD_BIAS
is defined wit the value, both executables and PIEs
will honor the base addresses.
If
.B LD_USE_LOAD_BIAS
is defined with the value 0,
neither executables nor PIEs will honor the base addresses.
This variable is ignored by set-user-ID and set-group-ID programs.
.TP
.B LD_WARN
(ELF only)(glibc since 2.1.3)
If set to a non-empty string, warn about unresolved symbols.