STRIP(CP) XENIX System V STRIP(CP)
strip - Removes symbols and relocation bits.
strip [ -MNSdehrstx ] file ...
strip removes the symbol table and relocation bits
ordinarily attached to the output of the assembler and link
editor. This is useful for saving space after a program has
If name is an archive file, strip will remove the local
symbols from any a.out format files it finds in the archive.
Certain libraries, such as those residing in /lib, have no
need for local symbols. By deleting them, the size of the
archive is decreased and link editing performance is
There are several options for use with strip:
-M Strip all memory image segments.
-N Strip all non-memory image segments.
-S Strip the segment table only.
-h Strip header and extended header.
-e Strip extended header.
-d Strip data and data relocation.
-t Strip text and text relocation.
-r Strip all relocation except x.out's "short
-x Strip all relocation.
-s Strip symbol table.
The effect of strip is the same as use of the -s option of
/tmp/stm* Temporary file
Page 1 (printed 8/7/87)