This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: porting and binary format output
- From: Peter Barada <peter at the-baradas dot com>
- To: ppham at colony dot mit dot edu
- Cc: binutils at sources dot redhat dot com
- Date: Sat, 4 Sep 2004 13:04:51 -0400 (EDT)
- Subject: Re: porting and binary format output
- References: <4139F539.2030404@colony.mit.edu>
>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