This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH 2/6] Mention that "=" forces sysroot prefix on linker script input files.
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: binutils at sourceware dot org
- Date: Thu, 9 Oct 2014 05:01:19 +0200
- Subject: [PATCH 2/6] Mention that "=" forces sysroot prefix on linker script input files.
- Authentication-results: sourceware.org; auth=none
Updated documentation to cover the new behavior. The sysroot
prefix is discussed in this paragraph, so I needed just adding
to that.
ld:
* 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.
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
--
brgds, H-P