This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: problem processing \@ expression in arm/thumb assembler macros
- To: tdel at windriver dot com
- Subject: Re: problem processing \@ expression in arm/thumb assembler macros
- From: Ian Lance Taylor <ian at zembu dot com>
- Date: 10 Mar 2000 14:35:18 -0800
- CC: binutils at sourceware dot cygnus dot com
- References: <38C97716.2B3994B1@wrs.com>
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