Separate debug info in gold, ld and objcopy

Paul Brook paul@codesourcery.com
Tue Apr 14 10:26:00 GMT 2009


On Tuesday 14 April 2009, Dave Korn wrote:
> Ian Lance Taylor wrote:
> > Vladimir Simonov <sv@sw.ru> writes:
> >> Do you have any plans in this direction?
> >
> > I don't personally have any plans in this direction at present, but I
> > completely agree that these would be useful features to have.
> >
> > Ian
>
>   I haven't even looked at gold yet.  I know it's ELF-centric, but is that
> assumption actually embedded in the code, or would adding coff/pe just be a
> simple matter of defining a new derived class for the output format?

If you really want to support non-elf targets you might consider using a 
postlinker approach, like the ARM EABI does for SymbianOS. i.e. your 
toolchain is ELF based, then you run the final image through a postprocessor 
to generate your actual target binaries (PE/bFLT/whatever).

http://www.arm.com/products/DevTools/ABI.html
The "Base Platform ABI" document contains some hints on how windows-like DLL 
based systems can be encapsulated in an ELF toolchain.

Paul



More information about the Binutils mailing list