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: Weddington, Eric
Subject: RE: [avr-gcc-list] Error: illegal opcode movw for mcu avr3
Date: Tue, 18 Mar 2008 16:29:45 -0600

 

> -----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.

Attachment: 50-9-binutils-2.18-avr35.patch
Description: 50-9-binutils-2.18-avr35.patch


reply via email to

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