09.06.2013 Views

Intel XENIX 286 Programmers Guide (86) - Tenox.tc

Intel XENIX 286 Programmers Guide (86) - Tenox.tc

Intel XENIX 286 Programmers Guide (86) - Tenox.tc

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>XENIX</strong> Programming Programming Commands<br />

strip - Removes symbols and relocation bits.<br />

Syntax<br />

strip [dehrsStx] file ...<br />

Description<br />

strip removes selected parts of an object file, including the header, text, data,<br />

relocation records, and symbol table. strip works directly on the named files; nothing is<br />

written to the standard output.<br />

strip is typically used to remove symbol table and relocation information from a file<br />

after debugging has been completed. It also is useful for creating a compact namelist<br />

file in which text and data have been removed.<br />

-d Strip data and the data relocation records.<br />

-e Strip the extended header.<br />

-h Strip the header and extended header.<br />

-r Strip all relocation records except the x.out short form.<br />

-s Strip the symbol table.<br />

-S Strip the segment table.<br />

-t Strip text and the text relocation records.<br />

-x Strip all relocation records.<br />

strip has the same effect as the -s option of ld. If no options are given, the -r and -s<br />

options are implied.<br />

Although strip can be used to remove an x.out header from an 80<strong>86</strong>/<strong>2<strong>86</strong></strong>-relocatable file,<br />

it cannot be used to remove run-time relocation records.<br />

Files<br />

/tmp/stm* Temporary file<br />

8-113

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

Saved successfully!

Ooh no, something went wrong!