macro's and local variables
Mischa Baars
mjbaars1977@gmail.com
Thu Oct 18 15:10:00 GMT 2012
On 10/18/2012 12:42 PM, Jan Beulich wrote:
>>>> On 18.10.12 at 10:52, Mischa Baars <mjbaars1977@gmail.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.
>
> Jan
>
Sounds to me, it would be a better plan to make sure that the assembler
accepts it '<<' both with and without '.altmacro' :)
More information about the Binutils
mailing list