1 diff -Naurp binutils/size.c binutils/size.c
2 --- binutils/size.c 2012-12-17 18:18:08.000000000 +0530
3 +++ binutils/size.c 2012-12-17 18:14:56.000000000 +0530
4 @@ -96,6 +96,7 @@ static int return_code = 0;
10 #define AVR16K 16384UL
11 #define AVR20K 20480UL
12 @@ -225,6 +226,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-12-17 18:18:08.000000000 +0530
23 +++ gas/config/tc-avr.c 2012-12-17 18:14:56.000000000 +0530
24 @@ -280,6 +280,8 @@ static struct mcu_type_s mcu_types[] =
25 {"atmega2561", AVR_ISA_AVR6, bfd_mach_avr6},
26 {"atmega256rfr2", AVR_ISA_AVR6, bfd_mach_avr6},
27 {"atmega2564rfr2",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_XMEGAU, bfd_mach_avrxmega2},
33 diff -Naurp gas/doc/c-avr.texi gas/doc/c-avr.texi
34 --- gas/doc/c-avr.texi 2012-12-17 18:18:08.000000000 +0530
35 +++ gas/doc/c-avr.texi 2012-12-17 18:17:01.000000000 +0530
36 @@ -94,7 +94,8 @@ atmega2560, atmega2561, atmega256rfr2).
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, atxmega16x1, atxmega32a4, atxmega32a4u, atxmega32c4,
40 -atxmega32d4, atxmega16e5, atxmega8e5, atxmega32e5, atxmega32x1, atmxt336s).
41 +atxmega32d4, atxmega16e5, atxmega8e5, atxmega32e5, atxmega32x1, atmxt224,
42 +atmxt224e, atmxt336s).
44 Instruction set avrxmega3 is for the XMEGA AVR core with 8K to 64K program
45 memory space and greater than 64K data space (MCU types: none).