]> git.pld-linux.org Git - packages/crossavr-binutils.git/blame - 405-binutils-atmxt540s.patch
- release 2 (x32 rebuild)
[packages/crossavr-binutils.git] / 405-binutils-atmxt540s.patch
CommitLineData
31ce1ede
JR
1diff -Naurp binutils/size.c binutils/size.c
2--- binutils/size.c 2012-12-17 18:23:28.000000000 +0530
3+++ binutils/size.c 2012-12-17 18:23:52.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 {"atmega128rfr2", AVR128K, AVR16K, AVR4K},
14 {"atmega1284rfr2",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},
22diff -Naurp gas/config/tc-avr.c gas/config/tc-avr.c
23--- gas/config/tc-avr.c 2012-12-17 18:23:28.000000000 +0530
24+++ gas/config/tc-avr.c 2012-12-17 18:23:52.000000000 +0530
25@@ -314,6 +314,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},
34diff -Naurp gas/doc/c-avr.texi gas/doc/c-avr.texi
35--- gas/doc/c-avr.texi 2012-12-17 18:23:28.000000000 +0530
36+++ gas/doc/c-avr.texi 2012-12-17 18:23:52.000000000 +0530
37@@ -110,10 +110,10 @@ atxmega64a1u).
38
39 Instruction set avrxmega6 is for the XMEGA AVR core with larger than 64K program
40 memory space and less than 64K data space (MCU types: atxmega128a3,
41-atxmega128a3u, atxmega128c3, atxmega128d3, atxmega128d4, atxmega192a3,
42-atxmega192a3u, atxmega128b1, atxmega128b3, atxmega192c3, atxmega192d3,
43-atxmega256a3, atxmega256a3u, atxmega256a3b, atxmega256a3bu, atxmega256c3,
44-atxmega256d3, atxmega384c3, atxmega256d3).
45+atxmega128a3u, atxmega128c3, atxmega128d3, atxmega128d4, atmxt540s,
46+atmxt540sreva, atxmega192a3, atxmega192a3u, atxmega128b1, atxmega128b3,
47+atxmega192c3, atxmega192d3, atxmega256a3, atxmega256a3u, atxmega256a3b,
48+atxmega256a3bu, atxmega256c3, atxmega256d3, atxmega384c3, atxmega256d3).
49
50 Instruction set avrxmega7 is for the XMEGA AVR core with larger than 64K program
51 memory space and greater than 64K data space (MCU types: atxmega128a1,
This page took 0.085021 seconds and 4 git commands to generate.