AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox AT&T UNIX™PC Unix System V Users Manual - tenox

01.01.2013 Views

n__

STRIP ( 1 ) STRIP (1) NAME strip - strip symbol and line number information from a common object file SYNOPSIS strip [-I] [-x] [-r] [-s] [-V] file-names DESCRIPTION The strip command strips the symbol table and line number information from common object files, including archives. Once this has been done, no symbolic debugging access will be available for that file; therefore, this command is normally run only on production modules that have been debugged and tested. The amount of information stripped from the symbol table can be controlled by using any of the following options: -1 Strip line number information only; do not strip any symbol table information. -x Do not strip static or external symbol information. -r Reset the relocation indexes into the symbol table. -s Reset the line number indexes into the symbol table (do not remove). reset the relocation indexes into the symbol table. -V Version of strip command executing. If there are any relocation entries in the object file and any symbol table information is to be stripped, strip will complain and terminate without stripping file-name unless the -r flag is used. If the strip command is executed on a common archive file (see ar(4)) the archive symbol table will be removed. The archive symbol table must be restored by executing the ar(l) command with the s option before the archive can be link edited by the ld(I) command. Strip (!) will instruct the user with appropriate warning messages when this situation arises. The purpose of this command is to reduce the file storage overhead taken by the object file. FILES jusr /tmpjstrp?????? SEE ALSO as(l), cc(l), ld(l), ar(4), a.out(4). DIAGNOSTICS strip: name: cannot open if name cannot be read. strip: name: bad magic if name is not an appropriate common object file. strip: name: relocation entries present; cannot strip if name contains relocation entries and the -r flag is not used, the symbol table information cannot be stripped. - 1 -

n__

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!