02.03.2014 Views

Tornado

Tornado

Tornado

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Tornado</strong> 2.0<br />

User’s Guide<br />

elfHex<br />

NAME<br />

SYNOPSIS<br />

DESCRIPTION<br />

elfHex – convert a ELF format object file into Motorola hex records<br />

elfHex [-a adrs] [-l] [-v] [-p PC] [-s SP] file<br />

This program generates a Motorola hex format (S-record) file from a ELF format object<br />

module. Normally, the entry address in the object module is used as the starting address<br />

of the output module. However, if the -a flag is used, then adrs is used as the starting<br />

address. Normally S1 records are generated for addresses less than 64K; S2 records are<br />

generated for addresses greater than 64K and less the 16M; and S3 records are generated<br />

for addresses greater than 16M.<br />

OPTIONS<br />

-l generate only S2 records.<br />

-a adrs use adrs as the entry address, rather than the address in the object module.<br />

-v output vector information at address 0.<br />

-p PC use PC as the PC in the vector (meaningless without -v).<br />

-s SP use SP as the SP in the vector (meaningless without -v).<br />

elfToBin<br />

NAME<br />

SYNOPSIS<br />

DESCRIPTION<br />

elfToBin – extract text and data segments from an ELF file<br />

elfToBin < inFile > outfile<br />

This tool extracts the text and data segments from an ELF object module, on standard<br />

input, and writes it to standard output as a simple binary image.<br />

elfToBsd<br />

NAME<br />

SYNOPSIS<br />

DESCRIPTION<br />

elfToBsd – convert MIPS ELF object modules to BSD a.out format<br />

elfToBsd < infile_elf > outfile_bsd<br />

This tool converts MIPS ELF format object modules to BSD-style a.out object modules.<br />

444

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

Saved successfully!

Ooh no, something went wrong!