Usage: /usr/arm-none-eabi/bin/strip <option(s)> in-file(s)
Removes symbols and sections from files
The options are:
-I --input-target=<bfdname> Assume input file is in format <bfdname>
-O --output-target=<bfdname> Create an output file in format <bfdname>
-F --target=<bfdname> Set both input and output format to <bfdname>
-p --preserve-dates Copy modified/access timestamps to the output
-D --enable-deterministic-archives
Produce deterministic output when stripping archives (default)
-U --disable-deterministic-archives
Disable -D behavior
-R --remove-section=<name> Also remove section <name> from the output
--remove-relocations <name> Remove relocations from section <name>
--strip-section-headers Strip section headers from the output
-s --strip-all Remove all symbol and relocation information
-g -S -d --strip-debug Remove all debugging symbols & sections
--strip-dwo Remove all DWO sections
--strip-unneeded Remove all symbols not needed by relocations
--only-keep-debug Strip everything but the debug information
-M --merge-notes Remove redundant entries in note sections (default)
--no-merge-notes Do not attempt to remove redundant notes
-N --strip-symbol=<name> Do not copy symbol <name>
--keep-section=<name> Do not strip section <name>
-K --keep-symbol=<name> Do not strip symbol <name>
--keep-section-symbols Do not strip section symbols
--keep-file-symbols Do not strip file symbol(s)
-w --wildcard Permit wildcard in symbol comparison
-x --discard-all Remove all non-global symbols
-X --discard-locals Remove any compiler-generated symbols
-v --verbose List all object files modified
-V --version Display this program's version number
-h --help Display this output
--info List object formats & architectures supported
-o <file> Place stripped output into <file>
--plugin NAME Load the specified plugin
/usr/arm-none-eabi/bin/strip: supported targets: elf32-littlearm elf32-littlearm-fdpic elf32-bigarm elf32-bigarm-fdpic elf32-little elf32-big srec symbolsrec verilog tekhex binary ihex plugin
Report bugs to <https://sourceware.org/bugzilla/>
Options (30)
| Option | Description | Source |
|---|---|---|
-I --input-target=<bfdname | Assume input file is in format <bfdname> | help |
-O --output-target=<bfdname | Create an output file in format <bfdname> | help |
-F --target=<bfdname | Set both input and output format to <bfdname> | help |
-p --preserve-dates | Copy modified/access timestamps to the output | help |
-D --enable-deterministic-archives | Produce deterministic output when stripping archives (default) | help |
-U --disable-deterministic-archives | Disable -D behavior | help |
-R --remove-section=<name | Also remove section <name> from the output | help |
--remove-relocations name | Remove relocations from section <name> | help |
--strip-section-headers | Strip section headers from the output | help |
-s --strip-all | Remove all symbol and relocation information | help |
-g -S | Remove all debugging symbols & sections | help |
--strip-dwo | Remove all DWO sections | help |
--strip-unneeded | Remove all symbols not needed by relocations | help |
--only-keep-debug | Strip everything but the debug information | help |
-M | --merge-notes Remove redundant entries in note sections (default) | help |
--no-merge-notes | Do not attempt to remove redundant notes | help |
-N --strip-symbol=<name | Do not copy symbol <name> | help |
--keep-section name | Do not strip section <name> | help |
-K --keep-symbol=<name | Do not strip symbol <name> | help |
--keep-section-symbols | Do not strip section symbols | help |
--keep-file-symbols | Do not strip file symbol(s) | help |
-w --wildcard | Permit wildcard in symbol comparison | help |
-x --discard-all | Remove all non-global symbols | help |
-X --discard-locals | Remove any compiler-generated symbols | help |
-v --verbose | List all object files modified | help |
-V --version | Display this program's version number | help |
-h --help | Display this output | help |
--info | List object formats & architectures supported | help |
-o file | Place stripped output into <file> | help |
--plugin NAME | Load the specified plugin | help |