This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Flat binary format (bFLT) tools
- From: Shaun Jackman <sjackman at gmail dot com>
- To: Simon Richter <Simon dot Richter at hogyros dot de>
- Cc: binutils at sources dot redhat dot com
- Date: Sat, 7 Jan 2006 16:10:48 -0700
- Subject: Re: Flat binary format (bFLT) tools
- References: <7f45d9390601061516p6ea75b44o@mail.gmail.com> <43BFCFC3.5060703@hogyros.de>
- Reply-to: Shaun Jackman <sjackman at gmail dot com>
2006/1/7, Simon Richter <Simon.Richter@hogyros.de>:
> Shaun Jackman schrieb:
> > Does binutils have any relationship with the uClinux flat binary
> > format (bFLT) tools, elf2flt and flthdr? Is there any possibility of
> > elf2flt being rolled into objcopy by adding bFLT support to the BFD?
>
> I have a tree that partially supports them (namely, disassembling works,
> and objcopy will do something but not the right thing yet).
>
> Creating bFLT binaries is difficult as there is no way of telling the
> linker to resolve as many relocs as it can, but not assign addresses to
> the sections (this is why elf2flt has a full understanding of all the
> reloc types -- you give it a relocatable input file, it resolves the
> relative relocs by hand, applies all the addends and then creates a list
> of locations containing absolute relocs.
It's certainly a starting point! Can you post a patch?
Thanks,
Shaun