diff options
author | Hans-Peter Nilsson <hp@bitrange.com> | 2014-10-15 02:50:03 +0200 |
---|---|---|
committer | Hans-Peter Nilsson <hp@bitrange.com> | 2014-10-15 02:50:03 +0200 |
commit | cad60a339b2a0a6af675d4243daa78c61eea06b5 (patch) | |
tree | 210098564631292493cf5550899bd10b931cfb5c /ld/ld.texinfo | |
parent | b3b9c41dc6ac302f5880b3e84b8974488c5bc120 (diff) | |
download | gdb-cad60a339b2a0a6af675d4243daa78c61eea06b5.zip gdb-cad60a339b2a0a6af675d4243daa78c61eea06b5.tar.gz gdb-cad60a339b2a0a6af675d4243daa78c61eea06b5.tar.bz2 |
ld.texinfo: "=" path-prefix forces sysroot in scripts not only SEARCH_DIR
* ld.texinfo (input files in linker scripts): When mentioning
behavior of first character "/" on scripts within sysroot, also
mention that effect can be forced by prefixing with "=" and
refer to SEARCH_DIR.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r-- | ld/ld.texinfo | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo index 58150f9..8eb7ba3 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo @@ -3143,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 |