bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug gas/2848] New: macro name syntax changed


From: Nick Clifton
Subject: Re: [Bug gas/2848] New: macro name syntax changed
Date: Mon, 24 Jul 2006 18:01:21 +0100
User-agent: Thunderbird 1.5.0.4 (X11/20060516)

Hi Zippel,

Until at least 2.15 as accepted a macro like this:

        .macro  foo size,arg,arg2
        move\size       \arg,\arg2
        .endm

        foo.l           %d0,%d1

Another alternative is to restore the old behaviour, which only accepts
alphanumeric characters and '_'/'$'.

Wouldn't it be better to fix the sources that use this confusing form of macro invocation. Reading this as a programmer it looks to me like you are trying to use an opcode called "foo.l" and not a macro called "foo" whose first argument is ".l". ie wouldn't it be clearer to have:

   foo   .l, %d0, %d1

Cheers
  Nick






reply via email to

[Prev in Thread] Current Thread [Next in Thread]