mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-03 04:01:22 +08:00
Update the binutils documentation to make it clear the the --strip-unneeded option of objcopy and strip implies the --strip-debug option.
* doc/binutils.texi (objcopy, strip): Say that '--strip-unneeded' implies '--strip-debug'.
This commit is contained in:

committed by
Nick Clifton

parent
5dd918d980
commit
427234c78b
@ -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}
|
||||
|
Reference in New Issue
Block a user