-I --input-target=<bfdname | Assume input file is in format <bfdname> | help + man |
-O --output-target=<bfdname | Create an output file in format <bfdname> | help + man |
-F --target=<bfdname | Set both input and output format to <bfdname> | help + man |
-p --preserve-dates | Copy modified/access timestamps to the output | help + man |
-D --enable-deterministic-archives | Produce deterministic output when stripping archives (default) | help + man |
-U --disable-deterministic-archives | Disable -D behavior | help + man |
-R --remove-section=<name | Also remove section <name> from the output | help + man |
--remove-relocations name | Remove relocations from the output file for any section matching sectionpattern. | help + man |
--strip-section-headers | Strip section headers from the output | help + man |
-s --strip-all | Remove all symbol and relocation information | help + man |
-g -S | Remove all debugging symbols & sections | help + man |
--strip-dwo | Remove the contents of all DWARF .dwo sections, leaving the remaining debugging sections and all symbols intact. | help + man |
--strip-unneeded | Remove all symbols that are not needed for relocation processing in addition to debugging symbols and sections stripped by --strip-debug. | help + man |
--only-keep-debug | Strip a file, emptying the contents of any sections that would not be stripped by --strip-debug and leaving the debugging sections intact. | help + man |
-M | --merge-notes Remove redundant entries in note sections (default) | help + man |
--no-merge-notes | For ELF files, attempt (or do not attempt) to reduce the size of any SHT_NOTE type sections by removing duplicate notes. | help + man |
-N --strip-symbol=<name | Do not copy symbol <name> | help + man |
--keep-section name | When removing sections from the output file, keep sections that match sectionpattern. | help + man |
-K --keep-symbol=<name | Do not strip symbol <name> | help + man |
--keep-section-symbols | When stripping a file, perhaps with --strip-debug or --strip-unneeded, retain any symbols specifying section names, which would otherwise get stripped. | help + man |
--keep-file-symbols | When stripping a file, perhaps with --strip-debug or --strip-unneeded, retain any symbols specifying source file names, which would otherwise get stripped. | help + man |
-w --wildcard | Permit wildcard in symbol comparison | help + man |
-x --discard-all | Remove all non-global symbols | help + man |
-X --discard-locals | Remove any compiler-generated symbols | help + man |
-v --verbose | List all object files modified | help + man |
-V --version | Display this program's version number | help + man |
-h --help | Display this output | help |
--info | Display a list showing all architectures and object formats available. | help + man |
-o file | Put the stripped output in file, rather than replacing the existing file. | help + man |
--plugin NAME | Load the plugin called name to add support for extra target types. | help + man |
--target bfdname | Treat the original objfile as a file with the object code format bfdname, and rewrite it in the same format. (in the manual page but not in --help) | man |
--help | Show a summary of the options to strip and exit. (in the manual page but not in --help) | man |
--input-target bfdname | Treat the original objfile as a file with the object code format bfdname. (in the manual page but not in --help) | man |
--output-target bfdname | Replace objfile with a file in the output format bfdname. (in the manual page but not in --help) | man |
--remove-section sectionname | Remove any section named sectionname from the output file, in addition to whatever sections would otherwise be removed. (in the manual page but not in --help) | man |
--strip-all | Remove all symbols. (in the manual page but not in --help) | man |
-S | (in the manual page but not in --help) | man |
-d | (in the manual page but not in --help) | man |
--strip-debug | Remove debugging symbols only. (in the manual page but not in --help) | man |
--keep-symbol symbolname | When stripping symbols, keep symbol symbolname even if it would normally be stripped. (in the manual page but not in --help) | man |
--merge-notes | (in the manual page but not in --help) | man |
--strip-symbol symbolname | Remove symbol symbolname from the source file. (in the manual page but not in --help) | man |
--preserve-dates | Preserve the access and modification dates of the file. (in the manual page but not in --help) | man |
--enable-deterministic-archives | Operate in deterministic mode. (in the manual page but not in --help) | man |
--disable-deterministic-archives | Do not operate in deterministic mode. (in the manual page but not in --help) | man |
--wildcard | Permit regular expressions in symbolnames used in other command line options. (in the manual page but not in --help) | man |
--discard-all | Remove non-global symbols. (in the manual page but not in --help) | man |
--discard-locals | Remove compiler-generated local symbols. (in the manual page but not in --help) | man |
--version | Show the version number for strip. (in the manual page but not in --help) | man |
--verbose | Verbose output: list all object files modified. (in the manual page but not in --help) | man |