[patch:avr] add new devices to gas

Theodore A. Roth troth@openavr.org
Fri Nov 26 15:20:00 GMT 2004


Hi,

The attached patch enables support for some new Atmel devices to gas for
the avr port.

---
Ted Roth
PGP Key ID: 0x18F846E9
Jabber ID: troth@jabber.org
-------------- next part --------------
2004-11-24  Theodore A. Roth  <troth@openavr.org>

	* gas/config/tc-avr.c (mcu_types): Add support for atmega165,
	atmega325, atmega3250, atmega645 and atmega6450.

Index: gas/config/tc-avr.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-avr.c,v
retrieving revision 1.21
diff -u -p -p -r1.21 tc-avr.c
--- gas/config/tc-avr.c	11 Sep 2004 13:15:04 -0000	1.21
+++ gas/config/tc-avr.c	24 Nov 2004 17:39:02 -0000
@@ -103,11 +103,16 @@ 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},
+  {"atmega165", AVR_ISA_M323,     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},
+  {"atmega325", AVR_ISA_M323,     bfd_mach_avr5},
+  {"atmega3250",AVR_ISA_M323,     bfd_mach_avr5},
   {"atmega64",  AVR_ISA_M323,     bfd_mach_avr5},
+  {"atmega645", AVR_ISA_M323,     bfd_mach_avr5},
+  {"atmega6450",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},


More information about the Binutils mailing list