aboutsummaryrefslogtreecommitdiff
path: root/ld
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
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')
-rw-r--r--ld/ChangeLog12
-rw-r--r--ld/ld.17
2 files changed, 18 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index c270d34..333d0d0 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,17 @@
+Tue Nov 14 17:08:06 1995 Ian Lance Taylor <ian@cygnus.com>
+
+ * 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.
+
Thu Nov 9 13:09:29 1995 Ian Lance Taylor <ian@cygnus.com>
+ * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Recognize
+ -bl and -bloadmap options.
+
* ldfile.c (ldfile_try_open_bfd): If bfd_error_invalid_target,
report a better error.
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