From 016b76edceb650d56360233bea1eb17127efec6f Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 27 Oct 2008 17:13:03 -0500 Subject: [PATCH] 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 --- man8/ld.so.8 | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/man8/ld.so.8 b/man8/ld.so.8 index 77ead7962..9b1987f04 100644 --- a/man8/ld.so.8 +++ b/man8/ld.so.8 @@ -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.