[PATCH] ld: silence makeinfo warnings

Jan Beulich jbeulich@suse.com
Fri May 17 10:54:56 GMT 2024


Older tool versions (4.12 in my case) demand . or , after @xref{};
arrange for this to be the case.
---
A somewhat newer version of the tool (6.5) emits two

warning: @pxref node name should not contain `.'

yet there it's not clear to me how (or whether at all) to deal with
those. These apparently occur on references to other .info files, for
the very file names specified).

--- a/ld/ld.texi
+++ b/ld/ld.texi
@@ -1181,7 +1181,7 @@ current script, otherwise the last, non-
 will be used.
 
 There are other ways of specifying linker scripts.  See
-@xref{--default-script}, @xref{--section-ordering-file} and
+@xref{--default-script}, @xref{--section-ordering-file}, and
 @xref{unrecognised-input-files}.
 
 @kindex -dT @var{script}
@@ -2470,7 +2470,7 @@ however that this only applies to additi
 satisfy already included shared libraries.  It does @emph{not}
 apply to libraries that are included via the @option{-l} command line
 option.  Searches for @option{-l} libraries are only conducted in
-directories specified by the @option{-L} option (@xref{-L}).
+directories specified by the @option{-L} option (@pxref{-L}).
 
 @enumerate
 @item


More information about the Binutils mailing list