This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]