aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorMarek Michalkiewicz <marekm@amelek.gda.pl>2004-09-11 13:15:05 +0000
committerMarek Michalkiewicz <marekm@amelek.gda.pl>2004-09-11 13:15:05 +0000
commit23794b24aa2bf76d05668823f2d3a7e2aa46f3fe (patch)
treedb07271b1683d36d879c5173162c9fceae00228a /gas
parentbb599908a8d0f463182ab1fd0abb56ea15bfd627 (diff)
downloadgdb-23794b24aa2bf76d05668823f2d3a7e2aa46f3fe.zip
gdb-23794b24aa2bf76d05668823f2d3a7e2aa46f3fe.tar.gz
gdb-23794b24aa2bf76d05668823f2d3a7e2aa46f3fe.tar.bz2
* gas/config/tc-avr.c: Add support for
atmega48, atmega88, atmega168, attiny13, attiny2313, at90can128. * include/opcode/avr.h: Add support for atmega48, atmega88, atmega168, attiny13, attiny2313, at90can128.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-avr.c9
2 files changed, 13 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 3ee610f..beb3083 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2004-09-11 Theodore A. Roth <troth@openavr.org>
+
+ * config/tc-avr.c: Add support for
+ atmega48, atmega88, atmega168, attiny13, attiny2313, at90can128.
+
2004-09-09 Alan Modra <amodra@bigpond.net.au>
* dw2gencfi.c (select_cie_for_fde): When separating CIE out
diff --git a/gas/config/tc-avr.c b/gas/config/tc-avr.c
index 43b4b71..6fdd0d0 100644
--- a/gas/config/tc-avr.c
+++ b/gas/config/tc-avr.c
@@ -90,20 +90,26 @@ static struct mcu_type_s mcu_types[] =
{"at43usb320",AVR_ISA_M103, bfd_mach_avr3},
{"at43usb355",AVR_ISA_M603, bfd_mach_avr3},
{"at76c711", AVR_ISA_M603, bfd_mach_avr3},
+ {"atmega48", AVR_ISA_M8, bfd_mach_avr4},
{"atmega8", AVR_ISA_M8, bfd_mach_avr4},
{"atmega83", AVR_ISA_M8, bfd_mach_avr4}, /* XXX -> m8535 */
{"atmega85", AVR_ISA_M8, bfd_mach_avr4}, /* XXX -> m8 */
+ {"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},
{"atmega163", AVR_ISA_M161, bfd_mach_avr5},
+ {"atmega168", AVR_ISA_M323, bfd_mach_avr5},
{"atmega169", AVR_ISA_M323, bfd_mach_avr5},
{"atmega32", AVR_ISA_M323, bfd_mach_avr5},
{"atmega323", AVR_ISA_M323, bfd_mach_avr5},
{"atmega64", AVR_ISA_M323, bfd_mach_avr5},
{"atmega128", AVR_ISA_M128, bfd_mach_avr5},
+ {"at90can128",AVR_ISA_M128, bfd_mach_avr5},
{"at94k", AVR_ISA_94K, bfd_mach_avr5},
{NULL, 0, 0}
};
@@ -531,7 +537,8 @@ avr_operands (opcode, line)
/* Warn if the previous opcode was cpse/sbic/sbis/sbrc/sbrs
(AVR core bug, fixed in the newer devices). */
- if (!(avr_opt.no_skip_bug || (avr_mcu->isa & AVR_ISA_MUL))
+ if (!(avr_opt.no_skip_bug ||
+ (avr_mcu->isa & (AVR_ISA_MUL | AVR_ISA_MOVW)))
&& AVR_SKIP_P (prev))
as_warn (_("skipping two-word instruction"));