No Subject
John Wehle
john@feith.com
Mon May 18 14:14:00 GMT 1998
> 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 | |
-------------------------------------------------------------------------
More information about the Gcc-bugs
mailing list