* 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.
This commit is contained in:
Ian Lance Taylor 1995-11-14 22:10:14 +00:00
parent 3ae5193668
commit 204066750f
2 changed files with 18 additions and 1 deletions

View 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> 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, * ldfile.c (ldfile_try_open_bfd): If bfd_error_invalid_target,
report a better error. report a better error.

View File

@ -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 shared objects explicitly included in the link; see the description of
the the
.B \-rpath\-link .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 The
.B \-rpath .B \-rpath