This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
No Subject
- To: ian at cygnus dot com
- From: john at feith dot com (John Wehle)
- Date: Mon, 18 May 1998 17:13:51 -0400
- CC: egcs-bugs at cygnus dot com, law at cygnus dot com, wilson at cygnus dot com
> I think feature tests are always better than version number tests. I
> think version number tests are a last resort. That's because you
> don't actually care what version number you are using. You only care
> whether a particular feature works. You might be using some weird
> mutant gas which thinks that it's version 970813 or something (and
> believe me, there are plenty of such mutants out there).
Is merely checking that:
.p2align 4
and:
.p2align 4,,7
assemble sufficient or should nm be used to ensure that the expected
results occurred (assuming that a working known nm is available which
uses "standard" arguments and has a "standard" output format). My
concern is that some non-gas assemblers may assemble this fine, however
they may use .p2align to mean something completely different.
-- John
-------------------------------------------------------------------------
| Feith Systems | Voice: 1-215-646-8000 | Email: john@feith.com |
| John Wehle | Fax: 1-215-540-5495 | |
-------------------------------------------------------------------------