avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] Error: illegal opcode movw for mcu avr3


From: Andy H
Subject: Re: [avr-gcc-list] Error: illegal opcode movw for mcu avr3
Date: Tue, 18 Mar 2008 18:52:55 -0400
User-agent: Thunderbird 2.0.0.12 (Windows/20080213)

Build from latest snapshot - it worked for me. And was quicker (no patches to mess with)




Weddington, Eric wrote:
-----Original Message-----
From: FRANCISCO ESPINOLA [mailto:address@hidden Sent: Tuesday, March 18, 2008 10:10 AM
To: Weddington, Eric; address@hidden
Subject: RE: [avr-gcc-list] Error: illegal opcode movw for mcu avr3

Yes you right.

But I do not have the patches for 2.18
where I can find?

this page only have patches for binutils 2.16

http://ftp.gnu.org/gnu/binutils/


I am still getting error but I believe is because the
patches

../../../../libgcc/../gcc/config/avr/libgcc.S:
Assembler messages:
../../../../libgcc/../gcc/config/avr/libgcc.S:281:
Error: illegal opcode movw for mcu avr3
../../../../libgcc/../gcc/config/avr/libgcc.S:283:
Error: illegal opcode movw for mcu avr3
make[4]: *** [_mulsi3.o] Error 1

Thank you in advance

There are 2 choices: build binutils from the latest snapshot, or use the
attached patch. This patch has already been committed to binutils:

2008-01-16  Eric B. Weddington  <address@hidden>

    * config/tc-avr.c (mcu_types): Change opcode set for avr3,
    at90usb82, at90usb162.
* doc/c-avr.texi: Change architecture grouping for at90usb82, at90usb162.
    These changes support the new avr35 architecture group in gcc.
------------------------------------------------------------------------

_______________________________________________
AVR-GCC-list mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list




reply via email to

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