]>
Commit | Line | Data |
---|---|---|
3ccd393f | 1 | diff -Naurp binutils/size.c binutils/size.c |
31ce1ede JR |
2 | --- binutils/size.c 2012-12-17 16:51:45.000000000 +0530 |
3 | +++ binutils/size.c 2012-12-17 16:53:47.000000000 +0530 | |
4 | @@ -96,12 +96,14 @@ static int return_code = 0; | |
3ccd393f | 5 | #define AVR2K 2048UL |
6 | #define AVR4K 4096UL | |
7 | #define AVR8K 8192UL | |
8 | +#define AVR14K 14336UL | |
9 | #define AVR16K 16384UL | |
10 | #define AVR20K 20480UL | |
11 | #define AVR24K 24576UL | |
12 | #define AVR32K 32768UL | |
13 | #define AVR36K 36864UL | |
14 | #define AVR40K 40960UL | |
15 | +#define AVR52K 53248UL | |
16 | #define AVR64K 65536UL | |
17 | #define AVR68K 69632UL | |
18 | #define AVR128K 131072UL | |
31ce1ede | 19 | @@ -216,6 +218,8 @@ avr_device_t avr[] = |
3ccd393f | 20 | {"atmega64hve", AVR64K, AVR4K, AVR1K}, |
21 | {"atmega64m1", AVR64K, AVR4K, AVR2K}, | |
22 | {"m3000", AVR64K, AVR4K, 0UL}, | |
23 | + | |
24 | + {"atmxt336s", AVR52K, AVR14K, 0UL}, | |
25 | ||
26 | {"atmega406", AVR40K, AVR2K, AVR512}, | |
27 | ||
28 | diff -Naurp gas/config/tc-avr.c gas/config/tc-avr.c | |
31ce1ede JR |
29 | --- gas/config/tc-avr.c 2012-12-17 16:53:23.000000000 +0530 |
30 | +++ gas/config/tc-avr.c 2012-12-17 16:53:47.000000000 +0530 | |
31 | @@ -278,6 +278,7 @@ static struct mcu_type_s mcu_types[] = | |
3ccd393f | 32 | {"atmega2561", AVR_ISA_AVR6, bfd_mach_avr6}, |
3ccd393f | 33 | {"atmega256rfr2", AVR_ISA_AVR6, bfd_mach_avr6}, |
31ce1ede | 34 | {"atmega2564rfr2",AVR_ISA_AVR6, bfd_mach_avr6}, |
3ccd393f | 35 | + {"atmxt336s", AVR_ISA_XMEGA, bfd_mach_avrxmega2}, |
36 | {"atxmega16a4", AVR_ISA_XMEGA, bfd_mach_avrxmega2}, | |
31ce1ede JR |
37 | {"atxmega16a4u",AVR_ISA_XMEGAU, bfd_mach_avrxmega2}, |
38 | {"atxmega16c4", AVR_ISA_XMEGAU, bfd_mach_avrxmega2}, | |
3ccd393f | 39 | diff -Naurp gas/doc/c-avr.texi gas/doc/c-avr.texi |
31ce1ede JR |
40 | --- gas/doc/c-avr.texi 2012-12-17 16:51:14.000000000 +0530 |
41 | +++ gas/doc/c-avr.texi 2012-12-17 16:55:26.000000000 +0530 | |
42 | @@ -94,7 +94,7 @@ atmega2560, atmega2561, atmega256rfr2). | |
3ccd393f | 43 | Instruction set avrxmega2 is for the XMEGA AVR core with 8K to 64K program |
44 | memory space and less than 64K data space (MCU types: atxmega16a4, atxmega16a4u, | |
31ce1ede JR |
45 | atxmega16c4, atxmega16d4, atxmega16x1, atxmega32a4, atxmega32a4u, atxmega32c4, |
46 | -atxmega32d4, atxmega16e5, atxmega8e5, atxmega32e5, atxmega32x1). | |
47 | +atxmega32d4, atxmega16e5, atxmega8e5, atxmega32e5, atxmega32x1, atmxt336s). | |
3ccd393f | 48 | |
49 | Instruction set avrxmega3 is for the XMEGA AVR core with 8K to 64K program | |
50 | memory space and greater than 64K data space (MCU types: none). |