On Tuesday 08 January 2008 22:31, Anatoly Sokolov wrote:
> Use patch:
> http://sourceware.org/ml/binutils/2008-01/msg00037.html

Thanks.  It was a surpise for me, that avr2 (and avr3 now)
are different for avr-gcc and avr-as.

And what is an advantage of a difference of avr2 architecture
for avr-gcc and for avr-as?  Is it a bug, that avr-gcc
translate '-mmcu=avr2' option into the same '-mmcu=avr2'
avr-as option?  (For avr-gcc 'avr2' is the avr2-relocation
and the classic instruction set. For avr-as 'avr2' is also
avr2-relocation, but the enhanced instruction set without
multiplication.)

IMHO, it would be better to permit for avr-as the '-mmcu=avr25'
option: which is alias for 'avr2' in relocation and is
differ in instruction set. (The same for avr35/avr3).

Dmitry.



_______________________________________________
AVR-GCC-list mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to