From 11908008aa9b25d68c32a0b43c7a740c409d0df7 Mon Sep 17 00:00:00 2001 From: "Eric B. Weddington" Date: Sat, 1 Aug 2009 16:17:23 +0000 Subject: [PATCH] /gas: 2009-08-01 Eric B. Weddington * config/tc-avr.c (mcu_types): Add atmega8u2, atmega16u2, atmega32u2. * doc/c-avr.texi: Likewise. --- gas/ChangeLog | 5 +++++ gas/config/tc-avr.c | 3 +++ gas/doc/c-avr.texi | 3 ++- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 4d20a12..6b9c8d2 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2009-08-01 Eric B. Weddington + + * config/tc-avr.c (mcu_types): Add atmega8u2, atmega16u2, atmega32u2. + * doc/c-avr.texi: Likewise. + 2009-07-31 Daniel Gutson Daniel Jacobowitz diff --git a/gas/config/tc-avr.c b/gas/config/tc-avr.c index eae2102..8c9f168 100644 --- a/gas/config/tc-avr.c +++ b/gas/config/tc-avr.c @@ -122,6 +122,9 @@ static struct mcu_type_s mcu_types[] = {"attiny327", AVR_ISA_AVR35, bfd_mach_avr35}, {"at90usb82", AVR_ISA_AVR35, bfd_mach_avr35}, {"at90usb162", AVR_ISA_AVR35, bfd_mach_avr35}, + {"atmega8u2", AVR_ISA_AVR35, bfd_mach_avr35}, + {"atmega16u2", AVR_ISA_AVR35, bfd_mach_avr35}, + {"atmega32u2", AVR_ISA_AVR35, bfd_mach_avr35}, {"atmega8", AVR_ISA_M8, bfd_mach_avr4}, {"atmega48", AVR_ISA_AVR4, bfd_mach_avr4}, {"atmega48p", AVR_ISA_AVR4, bfd_mach_avr4}, diff --git a/gas/doc/c-avr.texi b/gas/doc/c-avr.texi index 0a4fca0..6a2e8b1 100644 --- a/gas/doc/c-avr.texi +++ b/gas/doc/c-avr.texi @@ -54,7 +54,8 @@ 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, attiny327, at90usb82, at90usb162). +instructions (MCU types: attiny167, attiny327, at90usb82, at90usb162, atmega8u2, +atmega16u2, atmega32u2). Instruction set avr4 is for the enhanced AVR core with up to 8K program memory space (MCU types: atmega48, atmega48p,atmega8, atmega88, atmega88p, -- 2.7.4