[PATCH]: Clarify distinction between -rpath and -rpath-link
Nick Clifton
nickc@redhat.com
Tue Jun 27 09:40:00 GMT 2006
Hi Guys
I am checking in the patch below to improve the description of the
difference between the -rpath and -rpath-link switches when they are
being used at link time. The previous wording was ambiguous as to
which switch was restricted to the native linker.
Cheers
Nick
ld/ChangeLog
2006-06-27 Nick Clifton <nickc@redhat.com>
* ld.texinfo (-rpath-link): Clarify distinction between -rpath and
-rpath-link.
Index: ld/ld.texinfo
===================================================================
RCS file: /cvs/src/src/ld/ld.texinfo,v
retrieving revision 1.165
diff -c -3 -p -r1.165 ld.texinfo
*** ld/ld.texinfo 22 Jun 2006 13:43:04 -0000 1.165
--- ld/ld.texinfo 27 Jun 2006 08:44:17 -0000
*************** Any directories specified by @option{-rp
*** 1502,1508 ****
between @option{-rpath} and @option{-rpath-link} is that directories
specified by @option{-rpath} options are included in the executable and
used at runtime, whereas the @option{-rpath-link} option is only effective
! at link time. It is for the native linker only.
@item
On an ELF system, if the @option{-rpath} and @code{rpath-link} options
were not used, search the contents of the environment variable
--- 1502,1510 ----
between @option{-rpath} and @option{-rpath-link} is that directories
specified by @option{-rpath} options are included in the executable and
used at runtime, whereas the @option{-rpath-link} option is only effective
! at link time. Searching @option{-rpath} in this way is only supported
! by native linkers and cross linkers which have been configured with
! the @option{--with-sysroot} option.
@item
On an ELF system, if the @option{-rpath} and @code{rpath-link} options
were not used, search the contents of the environment variable
More information about the Binutils
mailing list