This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH 1/6] Mention that "=" in SEARCH_DIR is controlled by --sysroot
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: binutils at sourceware dot org
- Date: Thu, 9 Oct 2014 04:58:54 +0200
- Subject: [PATCH 1/6] Mention that "=" in SEARCH_DIR is controlled by --sysroot
- Authentication-results: sourceware.org; auth=none
Not really part of the sysroot-prefix changes as such, but
spotted while updating the documentation for the *new*
semantics. Reading the text before this patch gives the
impression that the "="-replacement is just a configure-time
choice for the "=" in SEARCH_DIR("=/file/path"). This is
borderline obvious.
ld:
* ld.texinfo (Options): When mentioning "=" and sysroot, mention
that --sysroot controls it, not only through the configuration.
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index e71be5e..58150f9 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
brgds, H-P