public inbox for gas2@sourceware.org
 help / color / mirror / Atom feed
* COFF/PE gas regression: bug
@ 1999-03-31  9:22 Donn Terry
  1999-03-31 10:24 ` Ian Lance Taylor
  0 siblings, 1 reply; 7+ messages in thread
From: Donn Terry @ 1999-03-31  9:22 UTC (permalink / raw)
  To: bfd, gas2

Let me quickly introduce myself, and then get on to the topic:
I'm Donn Terry, and over the last several years I've been working
on the Interix port of the FSF compiler tools (the whole chain,
from gcc/egcs thru gdb).  I'm now in the process of actively
remerging those changes into the official trees, maintainers
approving.  I'll be working with PE/PEI format stuff, both Intel
and Alpha.  I've been in contact with Ian and DJ about this.
(Yes, I really started with Cygwin stuff.)

In the process of doing the Gas port, I've run into something
that both the gas2 and bfd lists may wish to discuss, so I'm
sending to both (realizing that there may not be much difference
between the two.)  (And for archive purposes.)

I believe the gas testsuite has a bad test, as follows:  In
testsuite/gas/all/gas.exp, one of the tests is for structure tags
(see cofftag*).  It creates the symbol _operator as
storage class 16 (MOE), type 11 (0xb, MOE).  According to
the best COFF standard I have (which is no longer on
the web that I can find, but was on SCO's website):
"A special section number (-2) marks symbolic debugging symbols,
including structure/union/enumeration tag names...".
(Microsoft's PE documentation agrees, but isn't quite as
explicit.)  (DJ's machine is not responding at the moment.)

The test expects a value of -1 (Absolute symbol), which according
to the above is incorrect.

I've a fix for this (as part of a larger bundle of fixes),
but since it's a visible incompatability, I thought I'd
check if anyone cared (either way).  (The fix actually
affects more than just MOE, obviously, but it follows the
standards to the best I can interpret them.)

There's more along this line (inconsistencies between
the COFF/PE "standards" and the FSF tools); if you in general care
about COFF/PE, please respond and I'll collect a "those who
care" list about other such items.  (DJ, Ian, don't bother;
you can't escape :-) !)

Donn

-- 

===================================================
Donn Terry                  mailto:donn@interix.com
Softway Systems, Inc.        http://www.interix.com
2850 McClelland Dr, Ste. 1800   Ft.Collins CO 80525
Tel: +1-970-204-9900           Fax: +1-970-204-9951
===================================================

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1999-04-06  8:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-03-31  9:22 COFF/PE gas regression: bug Donn Terry
1999-03-31 10:24 ` Ian Lance Taylor
1999-04-05  8:31   ` Donn Terry
1999-04-05 16:39     ` Philippe De Muyter
1999-04-06  7:55       ` Donn Terry
1999-04-06  8:11         ` Ian Lance Taylor
1999-04-06  8:20           ` Donn Terry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).