This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Minor PA GAS testsuite fix
On Sat, Nov 24, 2001 at 08:51:38AM -0500, law@redhat.com wrote:
> > hppa-linux, but I can't see why this one should fail on any PA target,
> > or at least cannot be modified to pass for SOM. After all, it's not a
> > generic test.
> Actually, I'm surprised it's working under linux too.
>
> The problem is the generic parsing code interprets the '!' as an operator
> for the expression following the .word directive -- we never get the chance
> to interpret it as a line separator.
>
> In fact, the PA assembly language itself is ambiguous in numerous ways due
> to HP's use of '!' as a line separator, as an fcmp completer and GAS's use
> as an operator.
>
> In the end it's not *that* important of a test -- it's just something I
> noticed 10 years ago :-)
Ha! Some patch backlog! I think you'll find that the generic parsing
code has changed in the last 10 years. :-) In particular, my 2000-06-01
commit fixed expr.c to properly recognises '!' as a line separator on
hppa.
Alan