This is the mail archive of the
mailing list for the binutils project.
Re: macro's and local variables
On 10/18/2012 12:42 PM, Jan Beulich wrote:
Sounds to me, it would be a better plan to make sure that the assembler
accepts it '<<' both with and without '.altmacro' :)
On 18.10.12 at 10:52, Mischa Baars <email@example.com> wrote:
Since I would like to interface with C, you would get as demonstrated in
the attachments. I didn't know that 'shl' is accepted by the C compiler.
Seems to work for now though.
Maybe you just don't reference the respective symbols from
C source? But even once you do, you could
#define shl <<
guarded by some #if to hide it when translating .S files.