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: Your patch breaks i386-pe gas


   From: "Mark E." <snowball3@bigfoot.com>
   Date: Wed, 16 Aug 2000 17:49:11 -0400

   FWIW, the online COFF manual that is mirrored everywhere it seems supports 
   the change (copied from 
   http://osr5doc.sco.com:1996/topics/COFF_SectNumFld.html):

   A special section number (-2) marks symbolic debugging symbols, including 
   structure/union/enumeration tag names,
   typedefs, and the name of the file. A section number of -1 indicates that the 
   symbol has a value but is not relocatable.
   Examples of absolute-valued symbols include automatic and register variables, 
   function arguments, and .eos symbols. 

   If you guys accept this, I take it I need to change cofftag.[sd]?

The last time I went through this, everybody agreed that according to
the documentation, such as it is, these symbol types should be marked
as section -2, but the actual tools all marked them as section -1.

So until proven otherwise, I continue to believe that the old gas
behaviour matches that of historical COFF assemblers.

When I wrote the cofftag test, I actually ran it against SCO and SVR3
assemblers, and it matched what they generated.

Ian

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