25.12.2012 Views

VisualDSP++ 4.5 Loader and Utilities Manual - Analog Devices

VisualDSP++ 4.5 Loader and Utilities Manual - Analog Devices

VisualDSP++ 4.5 Loader and Utilities Manual - Analog Devices

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.

elf2flt – ELF to BFLT File Converter<br />

<strong>Utilities</strong><br />

The ELF-to-BFLT file converter (elf2flt.exe) utility converts a (.dxe)<br />

file in Executable <strong>and</strong> Linkable Format (ELF) to Binary Flat Format<br />

(BFLT).<br />

The .bflt file contains three output sections: text, data, <strong>and</strong> bss. Output<br />

sections are defined by the ELF file st<strong>and</strong>ard. The .bflt file can be loaded<br />

<strong>and</strong> executed in an environment running a uClinux operating system.<br />

For more information on the BFLT file format, see uClinux Web site:<br />

http://www.beyondlogic.org/uClinux/bflt.htm.<br />

The elf2flt currently supports ELF files compiled for Blackfin <strong>and</strong><br />

SHARC architectures. The elf2flt implements revision 5 flat relocation<br />

type. For more information, see the BFLT relocation structure defined in<br />

flat.h.<br />

� Elf2flt<br />

does not support ELF files with position-independent<br />

code <strong>and</strong> global offset table (PIC with GOT).<br />

Elf2flt is not capable of compressing text <strong>and</strong> data segments with<br />

gzip tool.<br />

Syntax: elf2flt [-V|r|k] [-s #] [-o file_name] elf_input_file<br />

where:<br />

elf_input_file is the name of the .dxe file generated by the<br />

<strong>VisualDSP++</strong> linker.<br />

Table B-2 shows optional switches used with the elf2flt comm<strong>and</strong>.<br />

<strong>VisualDSP++</strong> <strong>4.5</strong> <strong>Loader</strong> <strong>and</strong> <strong>Utilities</strong> <strong>Manual</strong> B-3

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

Saved successfully!

Ooh no, something went wrong!