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]

Re: DWARF2 and COFF?


  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


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