This is the mail archive of the binutils@sourceware.org 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: Separate debug info in gold, ld and objcopy


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


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