aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric B. Weddington <eric.weddington@atmel.com>2008-03-28 21:51:38 +0000
committerEric B. Weddington <eric.weddington@atmel.com>2008-03-28 21:51:38 +0000
commit2460c166aeb65cd1664234dfebbd779c77ee2956 (patch)
tree829897766407f57ad85af40c3f3619a502c726e0
parent70881657a21de9024d0992ed1c291b24123bb997 (diff)
downloadgdb-2460c166aeb65cd1664234dfebbd779c77ee2956.zip
gdb-2460c166aeb65cd1664234dfebbd779c77ee2956.tar.gz
gdb-2460c166aeb65cd1664234dfebbd779c77ee2956.tar.bz2
/gas:
2008-03-28 Eric B. Weddington <eric.weddington@atmel.com> * config/tc-avr.c (mcu_types): Add attiny167. * doc/c-avr.texi: Likewise. /include: 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com> * opcode/avr.h (AVR_ISA_TINY3): Define new opcode set for attiny167.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-avr.c1
-rw-r--r--gas/doc/c-avr.texi2
-rw-r--r--include/ChangeLog4
-rw-r--r--include/opcode/avr.h1
5 files changed, 12 insertions, 1 deletions
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 <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 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 <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 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)