[PATCH, AVR] Add support for new AVR devices
Anatoly Sokolov
aesok@post.ru
Wed Dec 17 22:12:00 GMT 2008
More information about the Binutils mailing list
Wed Dec 17 22:12:00 GMT 2008
- Previous message (by thread): Does gold support deadcode elimination on relocatable files
- Next message (by thread): [PATCH, AVR] Add support for new AVR devices
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello. The patch below adds support for the new AVR devices. /gas: 2008-12-18 Anatoly Sokolov <aesok@post.ru> * config/tc-avr.c (mcu_types): Add attiny87, attiny327, atmega4hvd, atmega8hvd, atmega16hvb, atmega32hvb, atmega64c1, atmega16m1, atmega64m1, atmega32u6, atmega128rfa1, at90pwm81, at90scr100, m3000f, m3000s and m3001b devices. * doc/c-avr.texi: Likewise. ? gas/doc/c-avr_.texi Index: gas/config/tc-avr.c =================================================================== RCS file: /cvs/src/src/gas/config/tc-avr.c,v retrieving revision 1.60 diff -u -r1.60 tc-avr.c --- gas/config/tc-avr.c 29 Aug 2008 16:58:02 -0000 1.60 +++ gas/config/tc-avr.c 17 Dec 2008 19:20:43 -0000 @@ -108,6 +108,7 @@ {"attiny261", AVR_ISA_AVR25, bfd_mach_avr25}, {"attiny461", AVR_ISA_AVR25, bfd_mach_avr25}, {"attiny861", AVR_ISA_AVR25, bfd_mach_avr25}, + {"attiny87", AVR_ISA_AVR25, bfd_mach_avr25}, {"attiny43u", AVR_ISA_AVR25, bfd_mach_avr25}, {"attiny48", AVR_ISA_AVR25, bfd_mach_avr25}, {"attiny88", AVR_ISA_AVR25, bfd_mach_avr25}, @@ -117,6 +118,7 @@ {"atmega103", AVR_ISA_AVR31, bfd_mach_avr31}, {"at43usb320", AVR_ISA_AVR31, bfd_mach_avr31}, {"attiny167", AVR_ISA_AVR35, bfd_mach_avr35}, + {"attiny327", AVR_ISA_AVR35, bfd_mach_avr35}, {"at90usb82", AVR_ISA_AVR35, bfd_mach_avr35}, {"at90usb162", AVR_ISA_AVR35, bfd_mach_avr35}, {"atmega8", AVR_ISA_M8, bfd_mach_avr4}, @@ -127,11 +129,14 @@ {"atmega8515", AVR_ISA_M8, bfd_mach_avr4}, {"atmega8535", AVR_ISA_M8, bfd_mach_avr4}, {"atmega8hva", AVR_ISA_AVR4, bfd_mach_avr4}, + {"atmega4hvd", AVR_ISA_AVR4, bfd_mach_avr4}, + {"atmega8hvd", AVR_ISA_AVR4, bfd_mach_avr4}, {"at90pwm1", AVR_ISA_AVR4, bfd_mach_avr4}, {"at90pwm2", AVR_ISA_AVR4, bfd_mach_avr4}, {"at90pwm2b", AVR_ISA_AVR4, bfd_mach_avr4}, {"at90pwm3", AVR_ISA_AVR4, bfd_mach_avr4}, {"at90pwm3b", AVR_ISA_AVR4, bfd_mach_avr4}, + {"at90pwm81", AVR_ISA_AVR4, bfd_mach_avr4}, {"atmega16", AVR_ISA_AVR5, bfd_mach_avr5}, {"atmega161", AVR_ISA_M161, bfd_mach_avr5}, {"atmega162", AVR_ISA_AVR5, bfd_mach_avr5}, @@ -165,24 +170,35 @@ {"atmega6450", AVR_ISA_AVR5, bfd_mach_avr5}, {"atmega6490", AVR_ISA_AVR5, bfd_mach_avr5}, {"atmega16hva",AVR_ISA_AVR5, bfd_mach_avr5}, + {"atmega16hvb",AVR_ISA_AVR5, bfd_mach_avr5}, + {"atmega32hvb",AVR_ISA_AVR5, bfd_mach_avr5}, {"at90can32" , AVR_ISA_AVR5, bfd_mach_avr5}, {"at90can64" , AVR_ISA_AVR5, bfd_mach_avr5}, {"at90pwm216", AVR_ISA_AVR5, bfd_mach_avr5}, {"at90pwm316", AVR_ISA_AVR5, bfd_mach_avr5}, - {"atmega16u4", AVR_ISA_AVR5, bfd_mach_avr5}, {"atmega32c1", AVR_ISA_AVR5, bfd_mach_avr5}, + {"atmega64c1", AVR_ISA_AVR5, bfd_mach_avr5}, + {"atmega16m1", AVR_ISA_AVR5, bfd_mach_avr5}, {"atmega32m1", AVR_ISA_AVR5, bfd_mach_avr5}, + {"atmega64m1", AVR_ISA_AVR5, bfd_mach_avr5}, + {"atmega16u4", AVR_ISA_AVR5, bfd_mach_avr5}, {"atmega32u4", AVR_ISA_AVR5, bfd_mach_avr5}, + {"atmega32u6", AVR_ISA_AVR5, bfd_mach_avr5}, {"at90usb646", AVR_ISA_AVR5, bfd_mach_avr5}, {"at90usb647", AVR_ISA_AVR5, bfd_mach_avr5}, + {"at90scr100", AVR_ISA_AVR5, bfd_mach_avr5}, {"at94k", AVR_ISA_94K, bfd_mach_avr5}, {"atmega128", AVR_ISA_AVR51, bfd_mach_avr51}, {"atmega1280", AVR_ISA_AVR51, bfd_mach_avr51}, {"atmega1281", AVR_ISA_AVR51, bfd_mach_avr51}, {"atmega1284p",AVR_ISA_AVR51, bfd_mach_avr51}, + {"atmega128rfa",AVR_ISA_AVR51, bfd_mach_avr51}, {"at90can128", AVR_ISA_AVR51, bfd_mach_avr51}, {"at90usb1286",AVR_ISA_AVR51, bfd_mach_avr51}, {"at90usb1287",AVR_ISA_AVR51, bfd_mach_avr51}, + {"m3000f", AVR_ISA_AVR51, bfd_mach_avr51}, + {"m3000s", AVR_ISA_AVR51, bfd_mach_avr51}, + {"m3001b", AVR_ISA_AVR51, bfd_mach_avr51}, {"atmega2560", AVR_ISA_AVR6, bfd_mach_avr6}, {"atmega2561", AVR_ISA_AVR6, bfd_mach_avr6}, {NULL, 0, 0} Index: gas/doc/c-avr.texi =================================================================== RCS file: /cvs/src/src/gas/doc/c-avr.texi,v retrieving revision 1.21 diff -u -r1.21 c-avr.texi --- gas/doc/c-avr.texi 29 Aug 2008 16:58:02 -0000 1.21 +++ gas/doc/c-avr.texi 17 Dec 2008 19:20:43 -0000 @@ -44,7 +44,7 @@ Instruction set avr25 is for the classic AVR core with up to 8K program memory space plus the MOVW instruction (MCU types: attiny13, attiny13a, attiny2313, attiny24, attiny44, attiny84, attiny25, attiny45, attiny85, attiny261, -attiny461, attiny861, attiny43u, attiny48, attiny88, at86rf401). +attiny461, attiny861, attiny87, attiny43u, attiny48, attiny88, at86rf401). Instruction set avr3 is for the classic AVR core with up to 128K program memory space (MCU types: at43usb355, at76c711). @@ -53,12 +53,12 @@ memory space (MCU types: atmega103, at43usb320). Instruction set avr35 is for classic AVR core plus MOVW, CALL, and JMP -instructions (MCU types: attiny167, at90usb82, at90usb162). +instructions (MCU types: attiny167, attiny327, at90usb82, at90usb162). Instruction set avr4 is for the enhanced AVR core with up to 8K program memory space (MCU types: atmega48, atmega48p,atmega8, atmega88, atmega88p, -atmega8515, atmega8535, atmega8hva, at90pwm1, at90pwm2, at90pwm2b, -at90pwm3, at90pwm3b). +atmega8515, atmega8535, atmega8hva, atmega4hvd, atmega8hvd, at90pwm1, +at90pwm2, at90pwm2b, at90pwm3, at90pwm3b, at90pwm81). Instruction set avr5 is for the enhanced AVR core with up to 128K program memory space (MCU types: atmega16, atmega161, atmega162, atmega163, atmega164p, @@ -66,12 +66,13 @@ atmega323, atmega324p, atmega325, atmega325p, atmega3250, atmega3250p, atmega328p, atmega329, atmega329p, atmega3290, atmega3290p, atmega406, atmega64, atmega640, atmega644, atmega644p, atmega645, atmega6450, atmega649, atmega6490, -atmega16hva, at90can32, at90can64, at90pwm216, at90pwm316, atmega16u4, -atmega32c1, atmega32m1, atmega32u4, at90usb646, at90usb647, at94k). +atmega16hva, atmega16hvb, atmega32hvb, at90can32, at90can64, at90pwm216, +at90pwm316, atmega32c1, atmega64c1, atmega16m1, atmega32m1, atmega64m1, +atmega16u4, atmega32u4, atmega32u6, at90usb646, at90usb647, at94k, at90scr100). Instruction set avr51 is for the enhanced AVR core with exactly 128K program memory space (MCU types: atmega128, atmega1280, atmega1281, atmega1284p, -at90can128, at90usb1286, at90usb1287). +atmega128rfa, at90can128, at90usb1286, at90usb1287, m3000f, m3000s, m3001b). Instruction set avr6 is for the enhanced AVR core with a 3-byte PC (MCU types: atmega2560, atmega2561). Anatoly.
- Previous message (by thread): Does gold support deadcode elimination on relocatable files
- Next message (by thread): [PATCH, AVR] Add support for new AVR devices
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list