SPNU118Y September 1995 – February 2020
The strip utility, armstrip, removes symbol table and debugging information from object and executable files. To invoke the strip utility, enter the following:
| armstrip [-p] input filename [input filename] |
| armstrip | is the command that invokes the strip utility. | |
| input filename | is an object file (.obj) or an executable file (.out). | |
| options | identifies the strip utility options you want to use. Options are not case sensitive and can appear anywhere on the command line following the invocation. Precede each option with a hyphen (-). The strip utility option is as follows: | |
| --help (-h) | displays help information. | |
| --outfile (-o)filename | writes the stripped output to filename. | |
| --postlink (-p) | removes all information not required for execution. This option causes more information to be removed than the default behavior, but the object file is left in a state that cannot be linked. This option should be used only with executable (.out) files. | |
| --rom | Strip readonly sections and segments. | |
| When the strip utility is invoked without the -o option, the input object files are replaced with the stripped version. | ||