diff options
author | mdodd <mdodd@FreeBSD.org> | 2005-02-04 02:46:41 +0000 |
---|---|---|
committer | mdodd <mdodd@FreeBSD.org> | 2005-02-04 02:46:41 +0000 |
commit | 07c084eb10cae71165395fe42ad03c46ab5f2b60 (patch) | |
tree | c66bf0274c69dcd44063d0c245221d5b1fbf7132 /libexec/rtld-elf/rtld.1 | |
parent | fea9122ea28421face363e607278a3bdd16acdc1 (diff) | |
download | FreeBSD-src-07c084eb10cae71165395fe42ad03c46ab5f2b60.zip FreeBSD-src-07c084eb10cae71165395fe42ad03c46ab5f2b60.tar.gz |
Description from Dan:
Another handy libmap patch. Lets you do stuff like this:
LD_LIBMAP="libpthread.so.1=libthr.so.1" mythreadedapp
If you already have a program-specific override in libmap.conf, note
that you must use a program-specific override in LD_LIBMAP:
LD_LIBMAP="[mythreadedapp],libpthread.so.1=libthr.so.1" mythreadedapp
PR: bin/74471
Submitted by: Dan Nelson <dnelson AT allantgroup.com>
MFC after: 2 weeks
Diffstat (limited to 'libexec/rtld-elf/rtld.1')
-rw-r--r-- | libexec/rtld-elf/rtld.1 | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/libexec/rtld-elf/rtld.1 b/libexec/rtld-elf/rtld.1 index a73bec3..17c007d 100644 --- a/libexec/rtld-elf/rtld.1 +++ b/libexec/rtld-elf/rtld.1 @@ -93,9 +93,22 @@ If set .Nm will print a table containing all relocations before symbol binding and relocation. +.It Ev LD_LIBMAP +A library replacement list in the same format as +.Xr libmap.conf 5 . +For convenience, the characters +.Ql = +and +.Ql \&, +can be used instead of a space and a newline. +This variable is parsed after +.Xr libmap.conf 5 , +and will override its entries. .It Ev LD_LIBMAP_DISABLE If set, disables the use of -.Xr libmap.conf 5 . +.Xr libmap.conf 5 +and +.Ev LD_LIBMAP . .It Ev LD_LIBRARY_PATH A colon separated list of directories, overriding the default search path for shared libraries. |