STRIP(CP) XENIX System V STRIP(CP)
Name
strip - Removes symbols and relocation bits.
Syntax
strip [ -MNSdehrstx ] file ...
Description
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
been debugged.
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
increased.
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
form."
-x Strip all relocation.
-s Strip symbol table.
The effect of strip is the same as use of the -s option of
ld.
Files
/tmp/stm* Temporary file
See Also
ld(C)
Page 1 (printed 8/7/87)