]> git.pld-linux.org Git - packages/crossavr-binutils.git/blame - 426-binutils-2.20.1-atmxt336s.patch
- synchronized patches with Atmel official AVR8-GNU toolchain.
[packages/crossavr-binutils.git] / 426-binutils-2.20.1-atmxt336s.patch
CommitLineData
3ccd393f 1diff -Naurp binutils/size.c binutils/size.c
2--- binutils/size.c 2011-09-15 16:09:26.000000000 +0300
3+++ binutils/size.c 2011-09-15 16:08:10.000000000 +0300
4@@ -95,12 +95,14 @@ static int return_code = 0;
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
19@@ -204,6 +206,8 @@ avr_device_t avr[] =
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
28diff -Naurp gas/config/tc-avr.c gas/config/tc-avr.c
29--- gas/config/tc-avr.c 2011-09-15 16:09:26.000000000 +0300
30+++ gas/config/tc-avr.c 2011-09-15 16:08:10.000000000 +0300
31@@ -270,6 +270,7 @@ static struct mcu_type_s mcu_types[] =
32 {"atmega2561", AVR_ISA_AVR6, bfd_mach_avr6},
33 {"atmega256rfa2", AVR_ISA_AVR6, bfd_mach_avr6},
34 {"atmega256rfr2", AVR_ISA_AVR6, bfd_mach_avr6},
35+ {"atmxt336s", AVR_ISA_XMEGA, bfd_mach_avrxmega2},
36 {"atxmega16a4", AVR_ISA_XMEGA, bfd_mach_avrxmega2},
37 {"atxmega16a4u",AVR_ISA_XMEGA, bfd_mach_avrxmega2},
38 {"atxmega16d4", AVR_ISA_XMEGA, bfd_mach_avrxmega2},
39diff -Naurp gas/doc/c-avr.texi gas/doc/c-avr.texi
40--- gas/doc/c-avr.texi 2011-09-15 16:09:26.000000000 +0300
41+++ gas/doc/c-avr.texi 2011-09-15 16:08:10.000000000 +0300
42@@ -88,7 +88,7 @@ atmega2560, atmega2561, atmega256rfa2, a
43
44 Instruction set avrxmega2 is for the XMEGA AVR core with 8K to 64K program
45 memory space and less than 64K data space (MCU types: atxmega16a4, atxmega16a4u,
46-atxmega16d4, atxmega32a4, atxmega32a4u, atxmega32d4, atxmega32x1).
47+atxmega16d4, atxmega32a4, atxmega32a4u, atxmega32d4, atxmega32x1, atmxt336s).
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).
This page took 0.032282 seconds and 4 git commands to generate.