STRIP(1) | MidnightBSD General Commands Manual | STRIP(1) |
strip
— discard
information from ELF objects
strip |
[-d | -g |
-S | --strip-debug ]
[-h | --help ]
[--only-keep-debug ] [-o
outputfile |
--output-file= outputfile]
[-p | --preserve-dates ]
[-s | --strip-all ]
[--strip-unneeded ] [-w |
--wildcard ] [-x |
--discard-all ] [-I
format |
--input-target= format]
[-K symbol |
--keep-symbol= symbol]
[-N symbol |
--strip-symbol= symbol]
[-O format |
--output-target= format]
[-R sectionname |
--remove-section= sectionname]
[-V | --version ]
[-X | --discard-locals ]
file ... |
The strip
utility is used to discard
information from the ELF objects specified by the arguments
file ....
If an explicit output file name is not specified using the
-o
option, the strip
utility
will modify its input arguments in-place.
The strip
utility supports the following
options:
-d
|
-g
|
-S
|
--strip-debug
-h
|
--help
--only-keep-debug
-o
outputfile |
--output-file=
outputfile-p
|
--preserve-dates
-s
|
--strip-all
--strip-unneeded
-w
|
--wildcard
*
\
-x
|
--discard-all
-I
format |
--input-target=
format-K
symbol |
--keep-symbol=
symbol-N
symbol |
--strip-symbol=
symbol-O
format |
--output-target=
format-R
sectionname |
--remove-section=
sectionname-V
|
--version
-X
|
--discard-locals
The strip
utility exits 0 on
success, and >0 if an error occurs.
ar(1), elfcopy(1), ld(1), mcs(1), elf(3), elftc_bfd_find_target(3), fnmatch(3)
July 27, 2019 | midnightbsd-3.1 |