From: Ian Lance Taylor <ian@airs.com>
To: donn@interix.com
Cc: bfd@cygnus.com, gas2@cygnus.com
Subject: Re: COFF/PE gas regression: bug
Date: Wed, 31 Mar 1999 10:24:00 -0000 [thread overview]
Message-ID: <19990331182433.20124.qmail@comton.airs.com> (raw)
In-Reply-To: <370258C3.46EB1F8D@interix.com>
Date: Wed, 31 Mar 1999 10:17:55 -0700
From: Donn Terry <donn@interix.com>
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.
The best approach for something like this is to see what the tools on
some other COFF system do. Can anybody try assembling
gas/testsuite/gas/all/cofftag.s on a native COFF system?
Ian
next prev parent reply other threads:[~1999-03-31 10:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-03-31 9:22 Donn Terry
1999-03-31 10:24 ` Ian Lance Taylor [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=19990331182433.20124.qmail@comton.airs.com \
--to=ian@airs.com \
--cc=bfd@cygnus.com \
--cc=donn@interix.com \
--cc=gas2@cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).