From 204066750f2b8135f496deab156e223d425de6f9 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 14 Nov 1995 22:10:14 +0000 Subject: * 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. --- ld/ChangeLog | 12 ++++++++++++ ld/ld.1 | 7 ++++++- 2 files changed, 18 insertions(+), 1 deletion(-) (limited to 'ld') 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 + + * 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 + * 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 -- cgit v1.1