Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ strip(1) — A/UX 2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

as(1)

cc(1)

ld(1)

sdb(1)

ar(4)

a.out(4)




strip(1) strip(1)
NAME strip - strip symbol and line number information from an object file SYNOPSIS strip [-l] [-r] [-s] [-V] [-x] file... DESCRIPTION The strip command strips the symbol table and line number information from object files, including archives. When strip has been performed, no symbolic debugging access is 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 the following flag options: -l 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 Print the version of the strip command executing on the standard error output. If there are any relocation entries in the object file and any symbol table information is to be stripped, strip com- plains and terminates without stripping filename unless the -r flag is used. If the strip command is executed on a common archive file (see ar(4)) the archive symbol table is removed. The ar- chive symbol table must be restored by executing the ar(1) command with the s flag option before the archive can be link edited by the ld(1) command. strip instructs the user with appropriate warning messages when this situation ar- ises. The purpose of this command is to reduce the file storage overhead taken by the object file. FILES /bin/strip /usr/tmp/str?????? April, 1990 1



strip(1) strip(1)
SEE ALSO as(1), cc(1), ld(1), sdb(1), ar(4), a.out(4). DIAGNOSTICS strip: name: cannot open name cannot be read. strip: name: bad magic name is not an object file. strip: name: relocation entries present name contains relocation entries and the -r flag was not used; therefore, the symbol table information can- not be stripped. 2 April, 1990

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026