]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Update the binutils documentation to make it clear the the --strip-unneeded option...
authorLudovic Court?s <ludo@gnu.org>
Mon, 21 Sep 2020 15:08:55 +0000 (16:08 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 21 Sep 2020 15:08:55 +0000 (16:08 +0100)
* doc/binutils.texi (objcopy, strip): Say that
        '--strip-unneeded' implies '--strip-debug'.

binutils/ChangeLog
binutils/doc/binutils.texi

index db839dc4ae805ca6b6e08766c431d06be13b7357..5e8eb987371ea40204a879343ae10fcae90a2225 100644 (file)
@@ -1,3 +1,8 @@
+2020-09-21  Ludovic Courtès  <ludo@gnu.org>
+
+       * doc/binutils.texi (objcopy, strip): Say that
+        '--strip-unneeded' implies '--strip-debug'.
+
 2020-09-16  Anatoly Parshintsev  <kupokupokupopo@gmail.com>
 
        * verilog.c (verilog_write_address): Properly handle 64-bit
index 35a5a67041e387254a2ceee5812bacee7a7769fd..837b7591b062f1cfb66fae257616b74d959d5306 100644 (file)
@@ -1404,13 +1404,16 @@ will remove all relocations for sections matching the pattern
 @item -S
 @itemx --strip-all
 Do not copy relocation and symbol information from the source file.
+Also deletes debug sections.
 
 @item -g
 @itemx --strip-debug
 Do not copy debugging symbols or sections from the source file.
 
 @item --strip-unneeded
-Strip all symbols that are not needed for relocation processing.
+Remove all symbols that are not needed for relocation processing in
+addition to debugging symbols and sections stripped by
+@option{--strip-debug}.
 
 @item -K @var{symbolname}
 @itemx --keep-symbol=@var{symbolname}
@@ -3387,7 +3390,9 @@ See the description of this option in the @command{objcopy} section
 for more information.
 
 @item --strip-unneeded
-Remove all symbols that are not needed for relocation processing.
+Remove all symbols that are not needed for relocation processing in
+addition to debugging symbols and sections stripped by
+@option{--strip-debug}.
 
 @item -K @var{symbolname}
 @itemx --keep-symbol=@var{symbolname}