[PATCH 1/6] Mention that "=" in SEARCH_DIR is controlled by --sysroot

Hans-Peter Nilsson hans-peter.nilsson@axis.com
Thu Oct 9 02:59:00 GMT 2014


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



More information about the Binutils mailing list