aboutsummaryrefslogtreecommitdiffstats
path: root/devel/avr-binutils/files/patch-newdevices
diff options
context:
space:
mode:
Diffstat (limited to 'devel/avr-binutils/files/patch-newdevices')
-rw-r--r--devel/avr-binutils/files/patch-newdevices58
1 files changed, 58 insertions, 0 deletions
diff --git a/devel/avr-binutils/files/patch-newdevices b/devel/avr-binutils/files/patch-newdevices
new file mode 100644
index 000000000000..dcfb6a340620
--- /dev/null
+++ b/devel/avr-binutils/files/patch-newdevices
@@ -0,0 +1,58 @@
+diff -ru /tmp/binutils-orig/gas/config/tc-avr.c ./gas/config/tc-avr.c
+--- /tmp/binutils-orig/gas/config/tc-avr.c Wed Feb 23 13:28:04 2005
++++ ./gas/config/tc-avr.c Sat Jul 30 21:43:34 2005
+@@ -88,6 +88,9 @@
+ {"at86rf401", AVR_ISA_2xxx, bfd_mach_avr2},
+ {"attiny13", AVR_ISA_TINY2, bfd_mach_avr2},
+ {"attiny2313",AVR_ISA_TINY2, bfd_mach_avr2},
++ {"attiny25", AVR_ISA_TINY2, bfd_mach_avr2},
++ {"attiny45", AVR_ISA_TINY2, bfd_mach_avr2},
++ {"attiny85", AVR_ISA_TINY2, bfd_mach_avr2},
+ {"atmega603", AVR_ISA_M603, bfd_mach_avr3}, /* XXX -> m103 */
+ {"atmega103", AVR_ISA_M103, bfd_mach_avr3},
+ {"at43usb320",AVR_ISA_M103, bfd_mach_avr3},
+@@ -100,21 +103,33 @@
+ {"atmega88", AVR_ISA_M8, bfd_mach_avr4},
+ {"atmega8515",AVR_ISA_M8, bfd_mach_avr4},
+ {"atmega8535",AVR_ISA_M8, bfd_mach_avr4},
++ {"at90pwm2", AVR_ISA_PWMx, bfd_mach_avr4},
++ {"at90pwm3", AVR_ISA_PWMx, bfd_mach_avr4},
+ {"atmega16", AVR_ISA_M323, bfd_mach_avr5},
+ {"atmega161", AVR_ISA_M161, bfd_mach_avr5},
+ {"atmega162", AVR_ISA_M323, bfd_mach_avr5},
+ {"atmega163", AVR_ISA_M161, bfd_mach_avr5},
++ {"atmega164", AVR_ISA_M323, bfd_mach_avr5},
+ {"atmega165", AVR_ISA_M323, bfd_mach_avr5},
+ {"atmega168", AVR_ISA_M323, bfd_mach_avr5},
+ {"atmega169", AVR_ISA_M323, bfd_mach_avr5},
+ {"atmega32", AVR_ISA_M323, bfd_mach_avr5},
+ {"atmega323", AVR_ISA_M323, bfd_mach_avr5},
++ {"atmega324", AVR_ISA_M323, bfd_mach_avr5},
+ {"atmega325", AVR_ISA_M323, bfd_mach_avr5},
++ {"atmega329", AVR_ISA_M323, bfd_mach_avr5},
+ {"atmega3250",AVR_ISA_M323, bfd_mach_avr5},
++ {"atmega3290",AVR_ISA_M323, bfd_mach_avr5},
+ {"atmega64", AVR_ISA_M323, bfd_mach_avr5},
++ {"atmega640", AVR_ISA_M323, bfd_mach_avr5},
++ {"atmega644", AVR_ISA_M323, bfd_mach_avr5},
+ {"atmega128", AVR_ISA_M128, bfd_mach_avr5},
++ {"atmega1280",AVR_ISA_M128, bfd_mach_avr5},
++ {"atmega1281",AVR_ISA_M128, bfd_mach_avr5},
+ {"atmega645", AVR_ISA_M323, bfd_mach_avr5},
++ {"atmega649", AVR_ISA_M323, bfd_mach_avr5},
+ {"atmega6450",AVR_ISA_M323, bfd_mach_avr5},
++ {"atmega6490",AVR_ISA_M323, bfd_mach_avr5},
+ {"at90can128",AVR_ISA_M128, bfd_mach_avr5},
+ {"at94k", AVR_ISA_94K, bfd_mach_avr5},
+ {NULL, 0, 0}
+diff -ru /tmp/binutils-orig/include/opcode/avr.h ./include/opcode/avr.h
+--- /tmp/binutils-orig/include/opcode/avr.h Thu Mar 3 12:58:09 2005
++++ ./include/opcode/avr.h Sat Jul 30 21:36:59 2005
+@@ -37,6 +37,7 @@
+ AVR_ISA_SPM | AVR_ISA_BRK)
+ #define AVR_ISA_M8 (AVR_ISA_2xxx | AVR_ISA_MUL | AVR_ISA_MOVW | \
+ AVR_ISA_LPMX | AVR_ISA_SPM)
++#define AVR_ISA_PWMx (AVR_ISA_M8 | AVR_ISA_BRK)
+ #define AVR_ISA_M603 (AVR_ISA_2xxx | AVR_ISA_MEGA)
+ #define AVR_ISA_M103 (AVR_ISA_M603 | AVR_ISA_ELPM)
+ #define AVR_ISA_M161 (AVR_ISA_M603 | AVR_ISA_MUL | AVR_ISA_MOVW | \