eu-strip --version (return code: 0)
eu-strip (elfutils) 0.170
Copyright (C) 2017 The elfutils developers <http://elfutils.org/>.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
eu-strip --help (return code: 0)
Usage: eu-strip [OPTION...] [FILE...]
Discard symbols from object files.
Output selection:
-f FILE Extract the removed sections into FILE
-F FILE Embed name FILE instead of -f argument
-o, --output=FILE Place stripped output into FILE
Output options:
-g, -d, -S, --strip-debug Remove all debugging symbols
--keep-section=SECTION Keep the named section. SECTION is an extended
wildcard pattern. May be given more than once.
-p, --preserve-dates Copy modified/access timestamps to the output
--permissive Relax a few rules to handle slightly broken ELF
files
--reloc-debug-sections Resolve all trivial relocations between debug
sections if the removed sections are placed in a
debug file (only relevant for ET_REL files,
operation is not reversable, needs -f)
--remove-comment Remove .comment section
-R, --remove-section=SECTION Remove the named section. SECTION is an
extended wildcard pattern. May be given more than
once. Only non-allocated sections can be removed.
--strip-sections Remove section headers (not recommended)
-?, --help Give this help list
--usage Give a short usage message
-V, --version Print program version
Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.
Report bugs to https://sourceware.org/bugzilla.