mirror of
https://github.com/RPCS3/llvm.git
synced 2025-03-02 07:37:02 +00:00
[docs][llvm-strip] Update llvm-strip doc to better match llvm-objcopy's
Main changes are mostly wording of some options, but this change also fixes a switch reference so that a link is created and moves --strip-sections into the ELF-specific area since it is only supported for ELF currently. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372864 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9c0dcead36
commit
cf5165889c
@ -52,7 +52,7 @@ multiple file formats.
|
||||
|
||||
.. option:: --no-strip-all
|
||||
|
||||
Disable --strip-all.
|
||||
Disable :option:`--strip-all`.
|
||||
|
||||
.. option:: -o <file>
|
||||
|
||||
@ -84,11 +84,7 @@ multiple file formats.
|
||||
|
||||
.. option:: --strip-debug, -g
|
||||
|
||||
Remove all debug sections.
|
||||
|
||||
.. option:: --strip-sections
|
||||
|
||||
Remove all section headers and all sections not in segments.
|
||||
Remove all debug sections from the output.
|
||||
|
||||
.. option:: --strip-symbol <symbol>, -N
|
||||
|
||||
@ -147,12 +143,18 @@ them.
|
||||
|
||||
.. option:: --keep-symbol <symbol>, -K
|
||||
|
||||
Do not remove symbols named ``<symbol>``. Can be specified multiple times to
|
||||
keep multiple symbols.
|
||||
When removing symbols from the output, do not remove symbols named
|
||||
``<symbol>``. Can be specified multiple times to keep multiple symbols.
|
||||
|
||||
.. option:: --preserve-dates, -p
|
||||
|
||||
Preserve access and modification timestamps.
|
||||
Preserve access and modification timestamps in the output.
|
||||
|
||||
.. option:: --strip-sections
|
||||
|
||||
Remove from the output all section headers and all section data not within
|
||||
segments. Note that many tools will not be able to use an object without
|
||||
section headers.
|
||||
|
||||
EXIT STATUS
|
||||
-----------
|
||||
|
Loading…
x
Reference in New Issue
Block a user