1 diff -Naurp binutils/size.c binutils/size.c
2 --- binutils/size.c 2012-01-18 12:59:34.000000000 +0530
3 +++ binutils/size.c 2012-01-18 12:58:46.000000000 +0530
4 @@ -95,6 +95,7 @@ static int return_code = 0;
10 #define AVR16K 16384UL
11 #define AVR20K 20480UL
12 @@ -218,6 +219,8 @@ avr_device_t avr[] =
14 {"atmega406", AVR40K, AVR2K, AVR512},
16 + {"atmxt224", AVR36K, AVR9K, 0UL},
17 + {"atmxt224e", AVR36K, AVR9K, 0UL},
18 {"atxmega32a4", AVR36K, AVR4K, AVR1K},
19 {"atxmega32a4u", AVR36K, AVR4K, AVR1K},
20 {"atxmega32c4", AVR36K, AVR4K, AVR1K},
21 diff -Naurp gas/config/tc-avr.c gas/config/tc-avr.c
22 --- gas/config/tc-avr.c 2012-01-18 12:59:34.000000000 +0530
23 +++ gas/config/tc-avr.c 2012-01-18 12:58:46.000000000 +0530
24 @@ -272,6 +272,8 @@ static struct mcu_type_s mcu_types[] =
25 {"atmega2561", AVR_ISA_AVR6, bfd_mach_avr6},
26 {"atmega256rfa2", AVR_ISA_AVR6, bfd_mach_avr6},
27 {"atmega256rfr2", AVR_ISA_AVR6, bfd_mach_avr6},
28 + {"atmxt224", AVR_ISA_XMEGA, bfd_mach_avrxmega2},
29 + {"atmxt224e", AVR_ISA_XMEGA, bfd_mach_avrxmega2},
30 {"atmxt336s", AVR_ISA_XMEGA, bfd_mach_avrxmega2},
31 {"atxmega16a4", AVR_ISA_XMEGA, bfd_mach_avrxmega2},
32 {"atxmega16a4u",AVR_ISA_XMEGA, bfd_mach_avrxmega2},
33 diff -Naurp gas/doc/c-avr.texi gas/doc/c-avr.texi
34 --- gas/doc/c-avr.texi 2012-01-18 12:59:34.000000000 +0530
35 +++ gas/doc/c-avr.texi 2012-01-18 13:02:14.000000000 +0530
36 @@ -89,7 +89,7 @@ atmega2560, atmega2561, atmega256rfa2, a
37 Instruction set avrxmega2 is for the XMEGA AVR core with 8K to 64K program
38 memory space and less than 64K data space (MCU types: atxmega16a4, atxmega16a4u,
39 atxmega16c4, atxmega16d4, atxmega32a4, atxmega32a4u, atxmega32c4, atxmega32d4,
40 -atxmega32x1, atmxt336s).
41 +atxmega32x1, atmxt224, atmxt224e, atmxt336s).
43 Instruction set avrxmega3 is for the XMEGA AVR core with 8K to 64K program
44 memory space and greater than 64K data space (MCU types: none).