* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Use the
authorIan Lance Taylor <ian@airs.com>
Tue, 14 Nov 1995 22:10:14 +0000 (22:10 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 14 Nov 1995 22:10:14 +0000 (22:10 +0000)
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.

ld/ChangeLog
ld/ld.1

index c270d34ae07043f1659dfdbe8e0c271041d810a6..333d0d01ed303c5df6aa7afabf80a965c0c32583 100644 (file)
@@ -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 a52975dc00f9131bcf1b1fc5e2b12e6dcc0e956e..a12596e2230f1fb44979d818d61775e7edf9c722 100644 (file)
--- 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
This page took 0.029873 seconds and 4 git commands to generate.