porting and binary format output

Peter Barada peter@the-baradas.com
Sat Sep 4 17:04:00 GMT 2004


>I am trying to design a processor on an FPGA and port gas and gcc
>to it as simply as possible. Is there a way to get gas to output
>plain binary files? I'd like to avoid having to write ELF relocation
>code since I plan to strip all of it to a plain binary to run on
>the FPGA core anyway.

It's much easier to have gas produce an elf file, link it to an elf
file, and then use objcopy to convert it to a plain binary.

-- 
Peter Barada
peter@the-baradas.com



More information about the Binutils mailing list