This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: porting and binary format output


>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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]