[Patch] Trivial gas fix of -mall on Alpha

George France france@handhelds.org
Tue Aug 20 15:41:00 GMT 2002


Hello Daniel,

On Tuesday 20 August 2002 18:18, Daniel Jacobowitz wrote:
> At a glance, this seems wrong.  Shouldn't -mall mean "can run on all
> Alphas", and thus should only emit BASE opcodes?

According to docs/c-alpha.texi:

"The special name @code{all} may be used to allow the assembler to accept
instructions valid for any Alpha processor."

If your interpretation is correct then the word "any" should be changed to "every".

It is however very useful to have -mall mean "any".  For example, in the Makefile
for the Alpha kernel, which is currently using -Wa,-mev6 for ev67 kernels, since
until recently gas did not understand -mev67.  (yes it is a long story)  Replacing
-Wa,-mev6 with -Wa,-mall would work, no matter which version of the binutils was
being used, assuming my interpretation is correct.

and before somebody notices that currently -mev6 and -mev67 support the same set of
instructions, this is not correct and is something that I plan to correct in the near future.

Best Regards,


--George



More information about the Binutils mailing list