]> git.pld-linux.org Git - packages/crossavr-binutils.git/blob - 427-binutils-2.20.1-atxmega16c4_32c4_128c3_256c3.patch
- synchronized patches with Atmel official AVR8-GNU toolchain.
[packages/crossavr-binutils.git] / 427-binutils-2.20.1-atxmega16c4_32c4_128c3_256c3.patch
1 diff -Naurp binutils/size.c binutils/size.c
2 --- binutils/size.c     2011-11-02 17:21:35.000000000 +0530
3 +++ binutils/size.c     2011-11-02 17:32:40.000000000 +0530
4 @@ -131,6 +131,7 @@ avr_device_t avr[] =
5         {"atxmega256a3u", AVR264K, AVR16K, AVR4K},
6         {"atxmega256a3b", AVR264K, AVR16K, AVR4K},
7         {"atxmega256a3bu",AVR264K, AVR16K, AVR4K},
8 +       {"atxmega256c3",  AVR264K, AVR16K, AVR4K},
9         {"atxmega256d3",  AVR264K, AVR16K, AVR4K},
10  
11         {"atmega2560",    AVR256K, AVR8K,  AVR4K},
12 @@ -150,6 +151,7 @@ avr_device_t avr[] =
13         {"atxmega128a3u", AVR136K, AVR8K,  AVR2K},
14         {"atxmega128b1",  AVR136K, AVR8K,  AVR2K},
15         {"atxmega128b3",  AVR136K, AVR8K,  AVR2K},
16 +       {"atxmega128c3",  AVR136K, AVR8K,  AVR2K},
17         {"atxmega128d3",  AVR136K, AVR8K,  AVR2K},
18         {"atxmega128d4",  AVR136K, AVR8K,  AVR2K},
19  
20 @@ -213,6 +215,7 @@ avr_device_t avr[] =
21
22         {"atxmega32a4",   AVR36K,  AVR4K,  AVR1K},
23         {"atxmega32a4u",  AVR36K,  AVR4K,  AVR1K},
24 +       {"atxmega32c4",   AVR36K,  AVR4K,  AVR1K},
25         {"atxmega32d4",   AVR36K,  AVR4K,  AVR1K},
26         {"atxmega32x1",   AVR36K,  AVR2K,  AVR1K},
27  
28 @@ -254,6 +257,7 @@ avr_device_t avr[] =
29  
30         {"atxmega16a4",   AVR20K,  AVR2K,  AVR1K},
31          {"atxmega16a4u",  AVR20K,  AVR2K,  AVR1K},
32 +       {"atxmega16c4",   AVR20K,  AVR2K,  AVR1K},
33         {"atxmega16d4",   AVR20K,  AVR2K,  AVR1K},
34  
35         {"at76c711",      AVR16K,  AVR2K,  0UL},
36 diff -Naurp gas/config/tc-avr.c gas/config/tc-avr.c
37 --- gas/config/tc-avr.c 2011-11-02 17:21:35.000000000 +0530
38 +++ gas/config/tc-avr.c 2011-11-02 17:25:47.000000000 +0530
39 @@ -273,9 +273,11 @@ static struct mcu_type_s mcu_types[] =
40    {"atmxt336s",   AVR_ISA_XMEGA,  bfd_mach_avrxmega2},
41    {"atxmega16a4", AVR_ISA_XMEGA,  bfd_mach_avrxmega2},
42    {"atxmega16a4u",AVR_ISA_XMEGA,  bfd_mach_avrxmega2},
43 +  {"atxmega16c4", AVR_ISA_XMEGA,  bfd_mach_avrxmega2},
44    {"atxmega16d4", AVR_ISA_XMEGA,  bfd_mach_avrxmega2},
45    {"atxmega32a4", AVR_ISA_XMEGA,  bfd_mach_avrxmega2},
46    {"atxmega32a4u",AVR_ISA_XMEGA,  bfd_mach_avrxmega2},
47 +  {"atxmega32c4", AVR_ISA_XMEGA,  bfd_mach_avrxmega2},
48    {"atxmega32d4", AVR_ISA_XMEGA,  bfd_mach_avrxmega2},
49    {"atxmega32x1", AVR_ISA_XMEGA,  bfd_mach_avrxmega2},
50    {"atxmega64a3", AVR_ISA_XMEGA,  bfd_mach_avrxmega4},
51 @@ -291,6 +293,7 @@ static struct mcu_type_s mcu_types[] =
52    {"atxmega128a3u",AVR_ISA_XMEGA, bfd_mach_avrxmega6},
53    {"atxmega128b1", AVR_ISA_XMEGA, bfd_mach_avrxmega6},
54    {"atxmega128b3", AVR_ISA_XMEGA, bfd_mach_avrxmega6},
55 +  {"atxmega128c3", AVR_ISA_XMEGA, bfd_mach_avrxmega6},
56    {"atxmega128d3", AVR_ISA_XMEGA, bfd_mach_avrxmega6},
57    {"atxmega128d4", AVR_ISA_XMEGA, bfd_mach_avrxmega6},
58    {"atxmega192a3", AVR_ISA_XMEGA, bfd_mach_avrxmega6},
59 @@ -300,6 +303,7 @@ static struct mcu_type_s mcu_types[] =
60    {"atxmega256a3u",AVR_ISA_XMEGA, bfd_mach_avrxmega6},
61    {"atxmega256a3b",AVR_ISA_XMEGA, bfd_mach_avrxmega6},
62    {"atxmega256a3bu",AVR_ISA_XMEGA,bfd_mach_avrxmega6},
63 +  {"atxmega256c3", AVR_ISA_XMEGA, bfd_mach_avrxmega6},
64    {"atxmega256d3", AVR_ISA_XMEGA, bfd_mach_avrxmega6},
65    {"atxmega384c3", AVR_ISA_XMEGA, bfd_mach_avrxmega6},
66    {"atxmega128a1", AVR_ISA_XMEGA, bfd_mach_avrxmega7},
67 diff -Naurp gas/doc/c-avr.texi gas/doc/c-avr.texi
68 --- gas/doc/c-avr.texi  2011-11-02 17:21:35.000000000 +0530
69 +++ gas/doc/c-avr.texi  2011-11-02 17:38:30.000000000 +0530
70 @@ -88,7 +88,8 @@ atmega2560, atmega2561, atmega256rfa2, a
71  
72  Instruction set avrxmega2 is for the XMEGA AVR core with 8K to 64K program
73  memory space and less than 64K data space (MCU types: atxmega16a4, atxmega16a4u,
74 -atxmega16d4, atxmega32a4, atxmega32a4u, atxmega32d4, atxmega32x1, atmxt336s).
75 +atxmega16c4, atxmega16d4, atxmega32a4, atxmega32a4u, atxmega32c4, atxmega32d4, 
76 +atxmega32x1, atmxt336s).
77  
78  Instruction set avrxmega3 is for the XMEGA AVR core with 8K to 64K program
79  memory space and greater than 64K data space (MCU types: none).
80 @@ -103,9 +104,9 @@ atxmega64a1u).
81  
82  Instruction set avrxmega6 is for the XMEGA AVR core with up to 256K program
83  memory space and less than 64K data space (MCU types: atxmega128a3, atxmega128a3u,
84 -atxmega128d3, atxmega128d4, atxmega192a3, atxmega192a3u, atxmega128b1, atxmega128b3, 
85 -atxmega192d3, atxmega256a3,atxmega256a3u, atxmega256a3b, atxmega256a3bu, atxmega192d3, 
86 -atxmega384c3).
87 +atxmega128c3, atxmega128d3, atxmega128d4, atxmega192a3, atxmega192a3u, atxmega128b1, 
88 +atxmega128b3, atxmega192d3, atxmega256a3,atxmega256a3u, atxmega256a3b, atxmega256a3bu, 
89 +atxmega256c3, atxmega256d3, atxmega384c3).
90  
91  Instruction set avrxmega7 is for the XMEGA AVR core with greater than 64K program
92  memory space and greater than 64K data space (MCU types: atxmega128a1,
This page took 0.07125 seconds and 3 git commands to generate.