]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
ld.texinfo: "=" path-prefix forces sysroot in scripts not only SEARCH_DIR
authorHans-Peter Nilsson <hp@bitrange.com>
Wed, 15 Oct 2014 00:50:03 +0000 (02:50 +0200)
committerHans-Peter Nilsson <hp@bitrange.com>
Wed, 15 Oct 2014 00:50:03 +0000 (02:50 +0200)
* 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.

ld/ChangeLog
ld/ld.texinfo

index 7c2cf0487d6790cee7441b0bcac42a173242b308..dd7c75e341e33cabb72fa31b336c6d8de7603845 100644 (file)
@@ -2,6 +2,10 @@
 
        * ld.texinfo (Options): When mentioning "=" and sysroot, mention
        that --sysroot controls it, not only through the configuration.
+       (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.
 
 2014-10-14  Tristan Gingold  <gingold@adacore.com>
 
index 58150f9ef64ff813598bcd91cd7eeab9c55b96cb..8eb7ba35274e2efef16f9cec39bb0c001ad2b4b7 100644 (file)
@@ -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