diff options
author | Hans-Peter Nilsson <hp@bitrange.com> | 2014-10-15 03:54:43 +0200 |
---|---|---|
committer | Hans-Peter Nilsson <hp@bitrange.com> | 2014-10-15 03:54:43 +0200 |
commit | 143bdb8811b8f45a3b9ebf62c2ecb3d45473d0f9 (patch) | |
tree | 7f3a819aa463f5930d055126fd061417d5fbbc56 /ld/ld.texinfo | |
parent | 1a45571fd882122b39c7de8e4b71762a9c9fe53a (diff) | |
download | binutils-143bdb8811b8f45a3b9ebf62c2ecb3d45473d0f9.tar.gz binutils-143bdb8811b8f45a3b9ebf62c2ecb3d45473d0f9.tar.bz2 binutils-143bdb8811b8f45a3b9ebf62c2ecb3d45473d0f9.zip |
Backport "="-ldscript-path-prefix changes from master.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r-- | ld/ld.texinfo | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo index e71be5ebf1a..8eb7ba35274 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo @@ -706,7 +706,8 @@ how @command{ld} searches for a linker script unless @option{-T} option is specified. If @var{searchdir} begins with @code{=}, then the @code{=} will be replaced -by the @dfn{sysroot prefix}, a path specified when the linker is configured. +by the @dfn{sysroot prefix}, controlled by the @samp{--sysroot} option, or +specified when the linker is configured. @ifset UsesEnvVars The default set of paths searched (without being specified with @@ -3142,7 +3143,9 @@ with the @samp{/} character, and the script being processed was located inside the @dfn{sysroot prefix}, the filename will be looked for in the @dfn{sysroot prefix}. Otherwise, the linker will try to open the file in the current directory. If it is not found, the -linker will search through the archive library search path. See the +linker will search through the archive library search path. +The @dfn{sysroot prefix} can also be forced by specifying @code{=} +as the first character in the filename path. See also the description of @samp{-L} in @ref{Options,,Command Line Options}. If you use @samp{INPUT (-l@var{file})}, @command{ld} will transform the |