Tornado Reference : Tornado Utilities

elfHex

NAME

elfHex - convert a ELF format object file into Motorola hex records

SYNOPSIS

elfHex [-a adrs] [-l] [-v] [-p PC] [-s SP] file

DESCRIPTION

This program generates a Motorola hex format (S-record) file from a ELF format object module. Normally, the entry address in the object module is used as the starting address of the output module. However, if the -a flag is used, then adrs is used as the starting address. Normally S1 records are generated for addresses less than 64K; S2 records are generated for addresses greater than 64K and less the 16M; and S3 records are generated for addresses greater than 16M.

OPTIONS

-l
generate only S2 records.

-a adrs
use adrs as the entry address, rather than the address in the object module.

-v
output vector information at address 0.

-p PC
use PC as the PC in the vector (meaningless without -v).

-s SP
use SP as the SP in the vector (meaningless without -v).

SEE ALSO

elfHex