bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ARM as warnings in as 2.12


From: Nick Clifton
Subject: Re: ARM as warnings in as 2.12
Date: 03 Jul 2002 15:11:39 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1

Hi Willi,

> arm-elf-as -o y.o vectors.s
> vectors.s: Assembler messages:
> vectors.s:6: Warning: rest of line ignored; first ignored character is
> `,'
> 
> The problem comes from ",@progbits" part in line 6. The preprocessor
> interprets "@" as a comment char and throws away the rest of the line,
> leaving a "," which the assembler warns.
> My problem is that in binutils-2.10 there are no warnings.
> A project which compiled without warnings under 2.10 does now produce
> warnings when using binutils-2.12.
> When using the gcc-option "-ffunction-sections" then there are lot of
> such warnings.
> 
> Is there a preferred method for avoiding these warnings?

Yes - upgrade to a newer version of gcc.  This problem was solved by
having arm-elf-gcc emit %progbits instead of @progbits.  There is code
in binutils 2.12 which will catch the '%' character and treat it as if
it were the same as the '@' character.

Cheers
        Nick




reply via email to

[Prev in Thread] Current Thread [Next in Thread]