This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GCC 2.95.3 generates syntax-error in arm-elf-as


I'd like to know if someone has encountered or fixed the following problem :
I'm building a GCC cross-compiler and during the process I see the
following error message :

-I../../gcc-2.95.3/gcc/config -I../../gcc-2.95.3/gcc/../include \
  -c ../../gcc-2.95.3/gcc/cp/
/tmp/ccEugNg3.s: Assembler messages:
/tmp/ccEugNg3.s:889: Error: junk at end of line, first unrecognized
character is `,'

This line causes the trouble :
	.section .gnu.linkonce.t.__tf9type_info,"ax",@progbits
`@` is the comment symbol for ARM assembler. So the line expands to 
 "[...], <nothing>".  Thus the error message about the `,`

Google found the following :
> And
> > Re: Override arm-elf-as comment char
> >
> >    It also accepts `%' for precisely this reason.  There is matching gunk 
> >    in GCC to generate the right syntax.
> > 

Apparently I've stumbled into exactly this problem that GCC uses @ instead
of % when generating code for ARM-ELF. 
Does anyone know a proper patch to fix this issue ?

Best regards


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]