DWARF2 and COFF?
Jeffrey A Law
law@redhat.com
Wed Dec 6 16:49:00 GMT 2000
In message < 20001206165036.A3361@cse.cygnus.com >you write:
> > It is my understanding that while dwarf2 happens to be used by
environmen
> ts
> > that use ELF, it is not dependant on ELF. Assuming my understanding is
> > correct, can bfd/dwarf2.c be made generic or should I just give up?
>
> Depends on the COFF varient. Dwarf2 needs:
>
> 1) The ability to create arbitrary sections (some COFF's, notably
> Mips &
> Alpha ECOFF can't create any sections not specified in the ABI);
>
> 2) The ability to to do address relocations non-byte boundaries;
>
> 3) The use of .8byte, .4byte, .2byte and .section pseudo ops;
>
> 4) The ability to mark sections not to be loaded into memory.
I would be all for generalizing bfd/dwarf2.c -- there are other object
formats that do have these kind of abilities (which we do want to use at
some point). SOM for the PA comes to mind :-)
jeff
More information about the Binutils
mailing list