aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.texinfo
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2000-08-22 19:34:37 +0000
committerH.J. Lu <hjl.tools@gmail.com>2000-08-22 19:34:37 +0000
commitec4eb78a39aebe3d1358676822b9d586136304f8 (patch)
tree74505341a779c40e17dc3b8ef3e44b0f6f56c0de /ld/ld.texinfo
parenta963dc6ade92e7fc92756912815fc7d852576792 (diff)
downloadgdb-ec4eb78a39aebe3d1358676822b9d586136304f8.zip
gdb-ec4eb78a39aebe3d1358676822b9d586136304f8.tar.gz
gdb-ec4eb78a39aebe3d1358676822b9d586136304f8.tar.bz2
2000-08-22 H.J. Lu <hjl@gnu.org>
* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after LD_LIBRARY_PATH for native linker. Display the needed DSO if trace_file_tries is non-zero. (gld${EMULATION_NAME}_try_needed): Report the needed DSO found if trace_file_tries is non-zero. * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH. * News: Mention it.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r--ld/ld.texinfo5
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index cce8322..e3ecaa4 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -1101,6 +1101,11 @@ directories specified using @code{-L} options.
For a native linker, the contents of the environment variable
@code{LD_LIBRARY_PATH}.
@item
+For a native ELF linker, the directories in @code{DT_RUNPATH} or
+@code{DT_RPATH} of a shared library are searched for shared
+libraries needed by it. The @code{DT_RPATH} entries are ignored if
+@code{DT_RUNPATH} entries exist.
+@item
The default directories, normally @file{/lib} and @file{/usr/lib}.
@item
For a native linker on an ELF system, if the file @file{/etc/ld.so.conf}