The comment start symbol for arm assembler
Paul Brook
paul@codesourcery.com
Mon Oct 31 16:32:00 GMT 2005
On Monday 31 October 2005 07:32, Hanzac Chen wrote:
> On 10/31/05, Hanzac Chen wrote:
> > Hi,
> >
> > Is the comment symbol for arm "@"? But the intermediate code
> > (assembler code) generated by GCC 4.1.0 (gcc-4.1-20051022) can't be
> > assembled by the latest release of binutils (binutils-2.16.1).
> >
> > Which is the correct line-comment symbol for arm assembler?
>
> Sorry, I found that if I change the comment symbol from "@" to ";@",
> it will work fine.
"@" is the normal comment character for arm assembly.
Sounds like you've either broken gas, or the compiler is picking up the wrong
assembler. If you think this is a gcc bug, please file a bug report, complete
with preprocessed testcase.
Paul
More information about the Gcc
mailing list