]> git.pld-linux.org Git - packages/crossavr-binutils.git/blame - 403-binutils-atmxt224_224e.patch
- release 2 (x32 rebuild)
[packages/crossavr-binutils.git] / 403-binutils-atmxt224_224e.patch
CommitLineData
3ccd393f 1diff -Naurp binutils/size.c binutils/size.c
31ce1ede
JR
2--- binutils/size.c 2012-12-17 18:18:08.000000000 +0530
3+++ binutils/size.c 2012-12-17 18:14:56.000000000 +0530
4@@ -96,6 +96,7 @@ static int return_code = 0;
3ccd393f 5 #define AVR2K 2048UL
6 #define AVR4K 4096UL
7 #define AVR8K 8192UL
8+#define AVR9K 9216UL
9 #define AVR14K 14336UL
10 #define AVR16K 16384UL
11 #define AVR20K 20480UL
31ce1ede 12@@ -225,6 +226,8 @@ avr_device_t avr[] =
3ccd393f 13
14 {"atmega406", AVR40K, AVR2K, AVR512},
15
16+ {"atmxt224", AVR36K, AVR9K, 0UL},
17+ {"atmxt224e", AVR36K, AVR9K, 0UL},
18 {"atxmega32a4", AVR36K, AVR4K, AVR1K},
19 {"atxmega32a4u", AVR36K, AVR4K, AVR1K},
20 {"atxmega32c4", AVR36K, AVR4K, AVR1K},
21diff -Naurp gas/config/tc-avr.c gas/config/tc-avr.c
31ce1ede
JR
22--- gas/config/tc-avr.c 2012-12-17 18:18:08.000000000 +0530
23+++ gas/config/tc-avr.c 2012-12-17 18:14:56.000000000 +0530
24@@ -280,6 +280,8 @@ static struct mcu_type_s mcu_types[] =
3ccd393f 25 {"atmega2561", AVR_ISA_AVR6, bfd_mach_avr6},
3ccd393f 26 {"atmega256rfr2", AVR_ISA_AVR6, bfd_mach_avr6},
31ce1ede 27 {"atmega2564rfr2",AVR_ISA_AVR6, bfd_mach_avr6},
3ccd393f 28+ {"atmxt224", AVR_ISA_XMEGA, bfd_mach_avrxmega2},
29+ {"atmxt224e", AVR_ISA_XMEGA, bfd_mach_avrxmega2},
30 {"atmxt336s", AVR_ISA_XMEGA, bfd_mach_avrxmega2},
31 {"atxmega16a4", AVR_ISA_XMEGA, bfd_mach_avrxmega2},
31ce1ede 32 {"atxmega16a4u",AVR_ISA_XMEGAU, bfd_mach_avrxmega2},
3ccd393f 33diff -Naurp gas/doc/c-avr.texi gas/doc/c-avr.texi
31ce1ede
JR
34--- gas/doc/c-avr.texi 2012-12-17 18:18:08.000000000 +0530
35+++ gas/doc/c-avr.texi 2012-12-17 18:17:01.000000000 +0530
36@@ -94,7 +94,8 @@ atmega2560, atmega2561, atmega256rfr2).
3ccd393f 37 Instruction set avrxmega2 is for the XMEGA AVR core with 8K to 64K program
31ce1ede
JR
38 memory space and less than 64K data space (MCU types: atxmega16a4, atxmega16a4u,
39 atxmega16c4, atxmega16d4, atxmega16x1, atxmega32a4, atxmega32a4u, atxmega32c4,
40-atxmega32d4, atxmega16e5, atxmega8e5, atxmega32e5, atxmega32x1, atmxt336s).
41+atxmega32d4, atxmega16e5, atxmega8e5, atxmega32e5, atxmega32x1, atmxt224,
42+atmxt224e, atmxt336s).
3ccd393f 43
44 Instruction set avrxmega3 is for the XMEGA AVR core with 8K to 64K program
45 memory space and greater than 64K data space (MCU types: none).
This page took 0.033764 seconds and 4 git commands to generate.