[PATCH] readelf: Fix typo in --version-info documentation

Dennis Dyall dennis.dyall@yubico.com
Fri Nov 7 15:53:55 GMT 2025


>From ec86e6f2bfae3b5b8b80af58429477b5201c1398 Mon Sep 17 00:00:00 2001
From: Dennis Dyallo <dennis.dyall@yubico.com>
Date: Fri, 7 Nov 2025 16:46:17 +0100
Subject: [PATCH] readelf: Fix typo in --version-info documentation

Change "it they exist" to "if they exist" in the description
of the --version-info option in the readelf man page.
---
 binutils/doc/binutils.texi | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi
index c0a09a3..fcb1af4 100644
--- a/binutils/doc/binutils.texi
+++ b/binutils/doc/binutils.texi
@@ -598,7 +598,7 @@ The @option{--output} option can be used to specify a
path to a
 directory into which archive members should be extracted.  If this
 option is not specified then the current directory will be used.

-Note - although the presence of this option does imply a @option{x}
+Note - although the presence of this option does imply a @option{x}
 extraction operation that option must still be included on the command
 line.

@@ -1089,7 +1089,7 @@ information can be found, print it after the other
symbol information.
 @item --inlines
 @cindex objdump inlines
 When option @option{-l} is active, if the address belongs to a
-function that was inlined, then this option causes the source
+function that was inlined, then this option causes the source
 information for all enclosing scopes back to the first non-inlined
 function to be printed as well.  For example, if @code{main} inlines
 @code{callee1} which inlines @code{callee2}, and address is from
@@ -2442,7 +2442,7 @@ with ctags tool.
 @cindex disassembling object code
 @cindex machine instructions
 Display the assembler mnemonics for the machine instructions from the
-input file.  This option only disassembles those sections which are
+input file.  This option only disassembles those sections which are
 expected to contain instructions.  If the optional @var{symbol}
 argument is given (perhaps multiple times), then display the assembler
 mnemonics starting at (all the) @var{symbol}.  If @var{symbol} is a
@@ -3465,7 +3465,7 @@ Print a summary of the program usage on the standard
output and exit.
 Print sequences of displayable characters that are at least
 @var{min-len} characters long.  If not specified a default minimum
 length of 4 is used.  The distinction between displayable and
-non-displayable characters depends upon the setting of the
+non-displayable characters depends upon the setting of the
 @option{-e} and @option{-U} options.  Sequences are always terminated
 at control characters such as new-line and carriage-return, but not
 the tab character.
@@ -5250,7 +5250,7 @@ as as unicode escape sequences (@var{\uxxxx}).  Using
the
 @option{--unicode=hex} will display the characters as hex byte
 sequences enclosed between angle brackets.

-Using the @option{--unicode=highlight} will display the characters as
+Using the @option{--unicode=highlight} will display the characters as
 unicode escape sequences but it will also highlighted them in red,
 assuming that colouring is supported by the output device.  The
 colouring is intended to draw attention to the presence of unicode
@@ -5303,7 +5303,7 @@ Displays the contents of the file's dynamic section,
if it has one.
 @item -V
 @itemx --version-info
 @cindex ELF version sections information
-Displays the contents of the version sections in the file, it they
+Displays the contents of the version sections in the file, if they
 exist.

 @item -A
-- 
2.51.2


-- 

Dennis Dyall

Software Developer, Tools Libraries and Apps | Yubico
<http://www.yubico.com/>
Phone: +46737124377
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://sourceware.org/pipermail/binutils/attachments/20251107/138c86a8/attachment-0001.htm>


More information about the Binutils mailing list