aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Michalkiewicz <marekm@amelek.gda.pl>2004-12-25 20:34:24 +0000
committerMarek Michalkiewicz <marekm@amelek.gda.pl>2004-12-25 20:34:24 +0000
commit71d7ecf2b0595b52dafb9775b13d9290d05309ae (patch)
tree6805d13f8c51a80a44b296742dd4a2053d1beef6
parent4c4e409cd46414209532766af5618f5d9fed746b (diff)
downloadgdb-71d7ecf2b0595b52dafb9775b13d9290d05309ae.zip
gdb-71d7ecf2b0595b52dafb9775b13d9290d05309ae.tar.gz
gdb-71d7ecf2b0595b52dafb9775b13d9290d05309ae.tar.bz2
* config/tc-avr.c (mcu_types): Move attiny{13,2313} from avr4 to avr2.
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-avr.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 082e008..b25be84 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2004-12-25 Marek Michalkiewicz <marekm@amelek.gda.pl>
+
+ * config/tc-avr.c (mcu_types): Move attiny{13,2313} from avr4 to avr2.
+
2004-12-23 Tomer Levi <Tomer.Levi@nsc.com>
* config/tc-crx.c: Support 'bcop' relaxation (dealt as in 'cmp&branch'
diff --git a/gas/config/tc-avr.c b/gas/config/tc-avr.c
index c0c2e3b..c884151 100644
--- a/gas/config/tc-avr.c
+++ b/gas/config/tc-avr.c
@@ -62,7 +62,7 @@ struct mcu_type_s
static struct mcu_type_s mcu_types[] =
{
{"avr1", AVR_ISA_TINY1, bfd_mach_avr1},
- {"avr2", AVR_ISA_2xxx, bfd_mach_avr2},
+ {"avr2", AVR_ISA_TINY2, bfd_mach_avr2},
{"avr3", AVR_ISA_M103, bfd_mach_avr3},
{"avr4", AVR_ISA_M8, bfd_mach_avr4},
{"avr5", AVR_ISA_ALL, bfd_mach_avr5},
@@ -85,6 +85,8 @@ static struct mcu_type_s mcu_types[] =
{"at90s8535", AVR_ISA_2xxx, bfd_mach_avr2},
{"at90c8534", AVR_ISA_2xxx, bfd_mach_avr2},
{"at86rf401", AVR_ISA_2xxx, bfd_mach_avr2},
+ {"attiny13", AVR_ISA_TINY2, bfd_mach_avr2},
+ {"attiny2313",AVR_ISA_TINY2, bfd_mach_avr2},
{"atmega603", AVR_ISA_M603, bfd_mach_avr3}, /* XXX -> m103 */
{"atmega103", AVR_ISA_M103, bfd_mach_avr3},
{"at43usb320",AVR_ISA_M103, bfd_mach_avr3},
@@ -97,8 +99,6 @@ static struct mcu_type_s mcu_types[] =
{"atmega88", AVR_ISA_M8, bfd_mach_avr4},
{"atmega8515",AVR_ISA_M8, bfd_mach_avr4},
{"atmega8535",AVR_ISA_M8, bfd_mach_avr4},
- {"attiny13", AVR_ISA_TINY2, bfd_mach_avr4},
- {"attiny2313",AVR_ISA_TINY2, bfd_mach_avr4},
{"atmega16", AVR_ISA_M323, bfd_mach_avr5},
{"atmega161", AVR_ISA_M161, bfd_mach_avr5},
{"atmega162", AVR_ISA_M323, bfd_mach_avr5},