aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.1
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-11-14 22:10:14 +0000
committerIan Lance Taylor <ian@airs.com>1995-11-14 22:10:14 +0000
commit204066750f2b8135f496deab156e223d425de6f9 (patch)
treee76ecd79cc20501a5ce7715c742ac4ba6fba04f5 /ld/ld.1
parent3ae5193668c1d9cef5842128e67b6cb39474ddc3 (diff)
downloadgdb-204066750f2b8135f496deab156e223d425de6f9.zip
gdb-204066750f2b8135f496deab156e223d425de6f9.tar.gz
gdb-204066750f2b8135f496deab156e223d425de6f9.tar.bz2
* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Use the
environment variable LD_RUN_PATH if neither -rpath nor -rpath-link were used. (gld${EMULATION_NAME}_before_allocation): Use the environment variable LD_RUN_PATH if -rpath was not used. * ld.texinfo, ld.1: Document LD_RUN_PATH. PR 8428.
Diffstat (limited to 'ld/ld.1')
-rw-r--r--ld/ld.17
1 files changed, 6 insertions, 1 deletions
diff --git a/ld/ld.1 b/ld/ld.1
index a52975d..a12596e 100644
--- a/ld/ld.1
+++ b/ld/ld.1
@@ -709,7 +709,12 @@ option is also used when locating shared objects which are needed by
shared objects explicitly included in the link; see the description of
the
.B \-rpath\-link
-option.
+option. If
+.B \-rpath
+is not used when linking an ELF executable, the contents of the
+environment variable
+.B LD_RUN_PATH
+will be used if it is defined.
The
.B \-rpath