[PATCH] Re: .macro behavior

Hans-Peter Nilsson hp@bitrange.com
Tue Feb 8 23:05:00 GMT 2005


On Tue, 8 Feb 2005, Jan Beulich wrote:

> >> >> only allows [[:alpha:]_$][[:alnum:]_$]*
> >
> >I think this restriction is actually good.  Calls for the least
> >amount of surprises when applying the same macro to different
> >GAS ports.
>
> Not so. If, on IA-64 as an example, I want to define an
> instruction-like macro, I need to have '.' as an acceptable character
> for the macro name.

I thought you were talking about macro *parameter names*, as
that's the change that exposed the mistake in the MMIX
test-case.  I agree the macro names themselves should be
freely chosen (anything but whitespace or whatever).

brgds, H-P



More information about the Binutils mailing list