aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog8
-rw-r--r--gas/config/tc-avr.c7
-rw-r--r--gas/doc/c-avr.texi14
3 files changed, 22 insertions, 7 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 1c0a562..691ba01 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,11 @@
+2006-18-06 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
+ Anatoly Sokolov <aesok@post.ru>
+
+ * config/tc-avr.c (mcu_types): Add support for atmega165p, atmega169p
+ and atmega644p devices. Rename atmega164/atmega324 devices to
+ atmega164p/atmega324p.
+ * doc/c-avr.texi: Document new mcu and arch options.
+
2006-06-17 Nick Clifton <nickc@redhat.com>
* config/tc-arm.c (enum parse_operand_result): Move outside of
diff --git a/gas/config/tc-avr.c b/gas/config/tc-avr.c
index 05fff3a..41eb6ac 100644
--- a/gas/config/tc-avr.c
+++ b/gas/config/tc-avr.c
@@ -115,13 +115,15 @@ static struct mcu_type_s mcu_types[] =
{"atmega161", AVR_ISA_M161, bfd_mach_avr5},
{"atmega162", AVR_ISA_M323, bfd_mach_avr5},
{"atmega163", AVR_ISA_M161, bfd_mach_avr5},
- {"atmega164", AVR_ISA_M323, bfd_mach_avr5},
+ {"atmega164p", AVR_ISA_M323, bfd_mach_avr5},
{"atmega165", AVR_ISA_M323, bfd_mach_avr5},
+ {"atmega165p", AVR_ISA_M323, bfd_mach_avr5},
{"atmega168", AVR_ISA_M323, bfd_mach_avr5},
{"atmega169", AVR_ISA_M323, bfd_mach_avr5},
+ {"atmega169p", AVR_ISA_M323, bfd_mach_avr5},
{"atmega32", AVR_ISA_M323, bfd_mach_avr5},
{"atmega323", AVR_ISA_M323, bfd_mach_avr5},
- {"atmega324", AVR_ISA_M323, bfd_mach_avr5},
+ {"atmega324p", AVR_ISA_M323, bfd_mach_avr5},
{"atmega325", AVR_ISA_M323, bfd_mach_avr5},
{"atmega329", AVR_ISA_M323, bfd_mach_avr5},
{"atmega3250", AVR_ISA_M323, bfd_mach_avr5},
@@ -130,6 +132,7 @@ static struct mcu_type_s mcu_types[] =
{"atmega64", AVR_ISA_M323, bfd_mach_avr5},
{"atmega640", AVR_ISA_M323, bfd_mach_avr5},
{"atmega644", AVR_ISA_M323, bfd_mach_avr5},
+ {"atmega644p", AVR_ISA_M323, bfd_mach_avr5},
{"atmega128", AVR_ISA_M128, bfd_mach_avr5},
{"atmega1280", AVR_ISA_M128, bfd_mach_avr5},
{"atmega1281", AVR_ISA_M128, bfd_mach_avr5},
diff --git a/gas/doc/c-avr.texi b/gas/doc/c-avr.texi
index ae14920..515d2c6 100644
--- a/gas/doc/c-avr.texi
+++ b/gas/doc/c-avr.texi
@@ -53,11 +53,15 @@ atmega8515, atmega8535, at90pwm2, at90pwm3).
Instruction set avr5 is for the enhanced AVR core with up to 128K program
memory space (MCU types: atmega16, atmega161, atmega162, atmega163,
-atmega164, atmega165, atmega168, atmega169, atmega32, atmega323,
-atmega324, atmega325, atmega329, atmega3250, atmega3290, atmega406,
-atmega64, atmega640, atmega644, atmega128, atmega1280, atmega1281,
-atmega645, atmega649, atmega6450, atmega6490, at90can32, at90can64,
-at90can128, at90usb646, at90usb647, at90usb1286, at90usb1287, at94k).
+atmega164p, atmega165, atmega165p, atmega168, atmega169, atmega169p,
+atmega32, atmega323, atmega324p, atmega325, atmega329, atmega3250,
+atmega3290, atmega406, atmega64, atmega640, atmega644, atmega644p,
+atmega128, atmega1280, atmega1281, atmega645, atmega649, atmega6450,
+atmega6490, at90can32, at90can64, at90can128, at90usb646, at90usb647,
+at90usb1286, at90usb1287, at94k).
+
+Instruction set avr6 is for the enhanced AVR core with 256K program
+memory space (MCU types: atmega2560, atmega2561).
@cindex @code{-mall-opcodes} command line option, AVR
@item -mall-opcodes