From: Collin Funk Date: Fri, 16 May 2025 08:37:04 +0000 (+0200) Subject: binutils/doc: Remove '.info' suffix in @ref, etc X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5328074d840ca3de9048a9397c49d2ba9683b537;p=thirdparty%2Fbinutils-gdb.git binutils/doc: Remove '.info' suffix in @ref, etc Texinfo 7.2 began showing warnings like: binutils.texi:882: warning: do not set .info suffix in reference for manual `ld.info' binutils.texi:1365: warning: do not set .info suffix in reference for manual `ld.info' The Texinfo developers plan to stop removing the '.info' suffix internally in a future release so without this patch the references will break in the future. Signed-off-by: Collin Funk --- diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi index d094f7d7091..4543341e00c 100644 --- a/binutils/doc/binutils.texi +++ b/binutils/doc/binutils.texi @@ -879,7 +879,7 @@ symbol is defined anywhere, the common symbols are treated as undefined references. @ifclear man For more details on common symbols, see the discussion of ---warn-common in @ref{Options,,Linker options,ld.info,The GNU linker}. +--warn-common in @ref{Options,,Linker options,ld,The GNU linker}. @end ifclear The lower case @var{c} character is used when the symbol is in a special section for small commons. @@ -1362,7 +1362,7 @@ between any two formats may not work as expected. deletes them afterward. @command{objcopy} uses @sc{bfd} to do all its translation work; it has access to all the formats described in @sc{bfd} and thus is able to recognize most formats without being told -explicitly. @xref{BFD,,BFD,ld.info,Using LD}. +explicitly. @xref{BFD,,BFD,ld,Using LD}. @command{objcopy} can be used to generate S-records by using an output target of @samp{srec} (e.g., use @samp{-O srec}).