[Patch,AVR]: ad PR49868: assemble 3-byte symbols

Denis Chertykov chertykov@gmail.com
Mon May 14 07:06:00 GMT 2012


2012/5/11 Georg-Johann Lay <avr@gjlay.de>:
> Currently avr_assemble_integer emits an assembler warning to
> make gas complain about missing feature
>
> http://sourceware.org/PR13503
>
> if a 3-byte address must be assembled.
>
> As PR13503 is implemented now, avr-gcc can use this feature.
>
> It's only needed for the new __memx address space.
>
> Ok to install?

Please commit.

> The feature is new in gcc and binutils and only rarely
> used, IMHO. The current solution will throw a comprehensible
> warning but generate bad code, with the patch old binutils
> will throw a not really helpful diagnose but work with
> new binutils...
>
> Thus okay to backport? Or leave 4.7 as is?

IMHO better to leave 4.7 as is.

Denis.



More information about the Gcc-patches mailing list