diff options
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-avr.c | 1 | ||||
-rw-r--r-- | gas/doc/c-avr.texi | 2 | ||||
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/opcode/avr.h | 1 |
5 files changed, 12 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 1110da098a..d5a9d5621a 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,10 @@ 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com> + * config/tc-avr.c (mcu_types): Add attiny167. + * doc/c-avr.texi: Likewise. + +2008-03-28 Eric B. Weddington <eric.weddington@atmel.com> + * 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 49ee893b0b..1ef9edcfea 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 285ad9059c..4892e09794 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 0b22f18e7a..749e8e9d7b 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2008-03-28 Eric B. Weddington <eric.weddington@atmel.com> + + * opcode/avr.h (AVR_ISA_TINY3): Define new opcode set for attiny167. + 2008-03-24 Ian Lance Taylor <iant@google.com> * sha1.h: New file, from gnulib. diff --git a/include/opcode/avr.h b/include/opcode/avr.h index 8038b4f7f8..0093a726a3 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) |