[binutils-gdb] ld/doc: Remove '.info' suffix in @ref, etc

Jan Beulich jbeulich@sourceware.org
Fri May 16 08:40:03 GMT 2025


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6809fe7536cf3f29d1ee2bfd8613d8654c510eb4

commit 6809fe7536cf3f29d1ee2bfd8613d8654c510eb4
Author: Collin Funk <collin.funk1@gmail.com>
Date:   Fri May 16 10:37:16 2025 +0200

    ld/doc: Remove '.info' suffix in @ref, etc
    
    Texinfo 7.2 began showing warnings like:
    
        ld.texi:1026: warning: do not set .info suffix in reference for manual `gcc.info'
        ld.texi:9689: warning: do not set .info suffix in reference for manual `binutils.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 <collin.funk1@gmail.com>

Diff:
---
 ld/ld.texi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ld/ld.texi b/ld/ld.texi
index ea4536a9112..afcc3fea94f 100644
--- a/ld/ld.texi
+++ b/ld/ld.texi
@@ -1024,7 +1024,7 @@ Write a @dfn{dependency file} to @var{depfile}.  This file contains a rule
 suitable for @code{make} describing the output file and all the input files
 that were read to produce it.  The output is similar to the compiler's
 output with @samp{-M -MP} (@pxref{Preprocessor Options,, Options
-Controlling the Preprocessor, gcc.info, Using the GNU Compiler
+Controlling the Preprocessor, gcc, Using the GNU Compiler
 Collection}).  Note that there is no option like the compiler's @samp{-MM},
 to exclude ``system files'' (which is not a well-specified concept in the
 linker, unlike ``system headers'' in the compiler).  So the output from
@@ -9686,7 +9686,7 @@ format can be supported simply by creating a new BFD back end and adding
 it to the library.  To conserve runtime memory, however, the linker and
 associated tools are usually configured to support only a subset of the
 object file formats available.  You can use @code{objdump -i}
-(@pxref{objdump,,objdump,binutils.info,The GNU Binary Utilities}) to
+(@pxref{objdump,,objdump,binutils,The GNU Binary Utilities}) to
 list all the formats available for your configuration.
 
 @cindex BFD requirements


More information about the Binutils-cvs mailing list