problem processing \@ expression in arm/thumb assembler macros

Ian Lance Taylor ian@zembu.com
Fri Mar 10 14:36:00 GMT 2000


   Date: Fri, 10 Mar 2000 14:28:38 -0800
   From: Thomas de Lellis <tdel@windriver.com>

   Found a problem where \@ was not being processed correctly with
   arm/thumb assemblers. Attached is a change for gas/app.c that fixes the
   problem.

This sort of problem does arise periodically: a conflict between gas's
machine independent syntax and its machine dependent syntax.  These
problems are hard to solve.

Your patch is kind of a special case solution, which can potentially
silently change the meaning of existing code.  I don't know if that is
best.  It seems to me that we should look for a more general solution:
perhaps all comment characters should be ignored after a backslash;
perhaps there should be an alternative to \@.

Ian


More information about the Binutils mailing list