This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
On Mon, Aug 22, 2011 at 11:40 AM, Alon Bar-Lev <alon.barlev@gmail.com> wrote:
>> But there is no documentation for this, it should appear in ld.so(8).
>> I will prepare a patch for documentation.
>>
>> Alon.
What do you think of this patch?
Human readable is bellow.
Thanks,
Alon.
---
--- ld.so.8.orig 2011-08-22 12:44:10.475794435 +0300
+++ ld.so.8 2011-08-22 12:44:21.813766610 +0300
@@ -90,6 +90,16 @@ LD.SO(8) Linux Program
libraries at execution-time. Similar to the PATH environment
variable.
+ ld.so understands the strings $ORIGIN , $LIB and $PLATFORM (or
+ equivalently ${var}) in a LD_LIBRARY_PATH string.
+
+ LIB is expanded to lib or lib64 based on the architecture.
+
+ ORIGIN is expanded to the location of the binary which is curâ
+ rently loaded.
+
+ PLATFORM is expanded to the running platform.
+
LD_PRELOAD
A whitespace-separated list of additional, user-specified, ELF
shared libraries to be loaded before all others. This can be
Attachment:
man-pages-master-ld.so.8-vars.diff
Description: plain/text
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |