From 2b02f87c4f30738fe60b0a586fd76bdd92e3937f Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 23 Dec 2008 09:51:38 +0000 Subject: [PATCH] * 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/ChangeLog | 8 ++++++++ gas/config/tc-avr.c | 18 +++++++++++++++++- gas/doc/c-avr.texi | 15 ++++++++------- 3 files changed, 33 insertions(+), 8 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 27e0f82ed00..b39d7cbb209 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,11 @@ +2008-12-23 Anatoly Sokolov + + * 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. + 2008-12-23 Nick Clifton * NEWS :Remove mention of STT_IFUNC support. diff --git a/gas/config/tc-avr.c b/gas/config/tc-avr.c index 11508eba440..28618d113f9 100644 --- a/gas/config/tc-avr.c +++ b/gas/config/tc-avr.c @@ -108,6 +108,7 @@ static struct mcu_type_s mcu_types[] = {"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 @@ static struct mcu_type_s mcu_types[] = {"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 @@ static struct mcu_type_s mcu_types[] = {"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 @@ static struct mcu_type_s mcu_types[] = {"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} diff --git a/gas/doc/c-avr.texi b/gas/doc/c-avr.texi index 58f5edcc8c1..80ade6da696 100644 --- a/gas/doc/c-avr.texi +++ b/gas/doc/c-avr.texi @@ -44,7 +44,7 @@ at90s8535). 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 @@ Instruction set avr31 is for the classic AVR core with exactly 128K program 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 @@ atmega165, atmega165p, atmega168, atmega168p, atmega169, atmega169p, atmega32, 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). -- 2.30.2