]> git.pld-linux.org Git - packages/crossavr-binutils.git/blob - 433-binutils-atmxt540s.patch
- synchronized patches with official AVR toolchain 3.4.1.830
[packages/crossavr-binutils.git] / 433-binutils-atmxt540s.patch
1 diff -Naurp binutils/size.c binutils/size.c
2 --- binutils/size.c     2012-06-28 16:09:08.000000000 +0530
3 +++ binutils/size.c     2012-06-28 16:13:56.000000000 +0530
4 @@ -97,6 +97,7 @@ static int return_code = 0;
5  #define AVR4K 4096UL
6  #define AVR8K 8192UL
7  #define AVR9K 9216UL
8 +#define AVR10K 10240UL
9  #define AVR14K 14336UL
10  #define AVR16K 16384UL
11  #define AVR20K 20480UL
12 @@ -152,6 +153,9 @@ avr_device_t avr[] =
13         {"atmega128rfa2", AVR128K, AVR16K, AVR4K},
14         {"atmega128rfr2", AVR128K, AVR16K, AVR4K},
15  
16 +       {"atmxt540s",     AVR136K, AVR10K, 0UL},
17 +       {"atmxt540sreva",AVR136K, AVR10K, 0UL},
18 +
19         {"atxmega128a1",  AVR136K, AVR8K,  AVR2K},
20         {"atxmega128a1u", AVR136K, AVR8K,  AVR2K},
21         {"atxmega128a4u", AVR136K, AVR8K,  AVR2K},
22 diff -Naurp gas/config/tc-avr.c gas/config/tc-avr.c
23 --- gas/config/tc-avr.c 2012-06-28 16:09:08.000000000 +0530
24 +++ gas/config/tc-avr.c 2012-06-28 16:15:11.000000000 +0530
25 @@ -313,6 +313,8 @@ static struct mcu_type_s mcu_types[] =
26    {"atxmega128c3", AVR_ISA_XMEGAU, bfd_mach_avrxmega6},
27    {"atxmega128d3", AVR_ISA_XMEGA, bfd_mach_avrxmega6},
28    {"atxmega128d4", AVR_ISA_XMEGA, bfd_mach_avrxmega6},
29 +  {"atmxt540s",    AVR_ISA_XMEGA, bfd_mach_avrxmega6},
30 +  {"atmxt540sreva", AVR_ISA_XMEGA, bfd_mach_avrxmega6},
31    {"atxmega192a3", AVR_ISA_XMEGA, bfd_mach_avrxmega6},
32    {"atxmega192a3u",AVR_ISA_XMEGAU, bfd_mach_avrxmega6},
33    {"atxmega192c3", AVR_ISA_XMEGAU, bfd_mach_avrxmega6},
34 diff -Naurp gas/doc/c-avr.texi gas/doc/c-avr.texi
35 --- gas/doc/c-avr.texi  2012-06-28 16:09:08.000000000 +0530
36 +++ gas/doc/c-avr.texi  2012-06-28 16:16:53.000000000 +0530
37 @@ -105,9 +105,10 @@ atxmega64a1u).
38  
39  Instruction set avrxmega6 is for the XMEGA AVR core with up to 256K program
40  memory space and less than 64K data space (MCU types: atxmega128a3, atxmega128a3u,
41 -atxmega128c3, atxmega128d3, atxmega128d4, atxmega192a3, atxmega192a3u, atxmega128b1,
42 -atxmega128b3, atxmega192c3, atxmega192d3, atxmega256a3, atxmega256a3u, atxmega256a3b, atxmega256a3bu,
43 -atxmega256c3, atxmega256d3, atxmega384c3, atxmega384d3).
44 +atxmega128c3, atxmega128d3, atxmega128d4, atmxt540s, atmxt540sreva, atxmega192a3,
45 +atxmega192a3u, atxmega128b1, atxmega128b3, atxmega192c3, atxmega192d3, atxmega256a3,
46 +atxmega256a3u, atxmega256a3b, atxmega256a3bu, atxmega256c3, atxmega256d3, atxmega384c3,
47 +atxmega384d3).
48  
49  Instruction set avrxmega7 is for the XMEGA AVR core with greater than 64K program
50  memory space and greater than 64K data space (MCU types: atxmega128a1,
This page took 0.041093 seconds and 3 git commands to generate.