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]
Other format: [Raw text]

Re: Strange flag in WIN32 PECOFF


> I would suspect, without really knowing, that either PECOFF or
> DJGPP's COFF implementation is incorrect with regards to the
> original COFF specification.

Since COFF is otherwise pretty much dead, "correct" is a nebulous
term.  DJGPP's COFF matched what all the other binutils coff's were
doing back then (i386-coff was a popular embedded target), but that
doesn't mean it's "correct".  PECOFF matches what Microsoft was
producing for Windows, but that doesn't mean it's "correct" either.

The binutils tool "just know" which format they're expecting, so it's
never been a problem before.  In general, you can't just link DJGPP
objects and PECOFF objects together.  COFF differences aside, the
code's semantics just won't merge well.


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