From 2460c166aeb65cd1664234dfebbd779c77ee2956 Mon Sep 17 00:00:00 2001 From: "Eric B. Weddington" Date: Fri, 28 Mar 2008 21:51:38 +0000 Subject: [PATCH] /gas: 2008-03-28 Eric B. Weddington * config/tc-avr.c (mcu_types): Add attiny167. * doc/c-avr.texi: Likewise. /include: 2008-03-28 Eric B. Weddington * opcode/avr.h (AVR_ISA_TINY3): Define new opcode set for attiny167. --- gas/ChangeLog | 5 +++++ gas/config/tc-avr.c | 1 + gas/doc/c-avr.texi | 2 +- include/ChangeLog | 4 ++++ include/opcode/avr.h | 1 + 5 files changed, 12 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 1110da0..d5a9d56 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,10 @@ 2008-03-28 Eric B. Weddington + * config/tc-avr.c (mcu_types): Add attiny167. + * doc/c-avr.texi: Likewise. + +2008-03-28 Eric B. Weddington + * config/tc-avr.c (mcu_types): Add atmega32u4. * doc/c-avr.texi: Likewise. diff --git a/gas/config/tc-avr.c b/gas/config/tc-avr.c index 49ee893..1ef9edc 100644 --- a/gas/config/tc-avr.c +++ b/gas/config/tc-avr.c @@ -105,6 +105,7 @@ static struct mcu_type_s mcu_types[] = {"at76c711", AVR_ISA_M603, bfd_mach_avr3}, {"at90usb82", AVR_ISA_USB162, bfd_mach_avr3}, {"at90usb162", AVR_ISA_USB162, bfd_mach_avr3}, + {"attiny167", AVR_ISA_TINY3, bfd_mach_avr3}, {"atmega48", AVR_ISA_PWMx, bfd_mach_avr4}, {"atmega48p", AVR_ISA_PWMx, bfd_mach_avr4}, {"atmega8", AVR_ISA_M8, bfd_mach_avr4}, diff --git a/gas/doc/c-avr.texi b/gas/doc/c-avr.texi index 285ad90..4892e09 100644 --- a/gas/doc/c-avr.texi +++ b/gas/doc/c-avr.texi @@ -45,7 +45,7 @@ attiny45, attiny85, attiny43u, attiny48, attiny88). Instruction set avr3 is for the classic AVR core with up to 128K program memory space (MCU types: atmega103, at43usb320, at43usb355, at76c711, -at90usb82, at90usb162). +at90usb82, at90usb162, attiny167). Instruction set avr4 is for the enhanced AVR core with up to 8K program memory space (MCU types: atmega48, atmega48p,atmega8, atmega88, atmega88p, diff --git a/include/ChangeLog b/include/ChangeLog index 0b22f18..749e8e9 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2008-03-28 Eric B. Weddington + + * opcode/avr.h (AVR_ISA_TINY3): Define new opcode set for attiny167. + 2008-03-24 Ian Lance Taylor * sha1.h: New file, from gnulib. diff --git a/include/opcode/avr.h b/include/opcode/avr.h index 8038b4f..0093a72 100644 --- a/include/opcode/avr.h +++ b/include/opcode/avr.h @@ -39,6 +39,7 @@ #define AVR_ISA_RF401 (AVR_ISA_2xxx | AVR_ISA_MOVW | AVR_ISA_LPMX) #define AVR_ISA_TINY2 (AVR_ISA_2xxx | AVR_ISA_MOVW | AVR_ISA_LPMX | \ AVR_ISA_SPM | AVR_ISA_BRK) +#define AVR_ISA_TINY3 (AVR_ISA_TINY2 | AVR_ISA_MEGA) #define AVR_ISA_M8 (AVR_ISA_2xxx | AVR_ISA_MUL | AVR_ISA_MOVW | \ AVR_ISA_LPMX | AVR_ISA_SPM) #define AVR_ISA_M603 (AVR_ISA_2xxx | AVR_ISA_MEGA) -- 2.7.4