]> git.pld-linux.org Git - packages/crossavr-binutils.git/blob - 423-binutils-2.20.1-atmega_8a_128a_1284.patch
- synchronized patches with Atmel official AVR8-GNU toolchain.
[packages/crossavr-binutils.git] / 423-binutils-2.20.1-atmega_8a_128a_1284.patch
1 diff -Naurp binutils/size.c binutils/size.c
2 --- binutils/size.c     2011-09-08 17:12:34.000000000 +0300
3 +++ binutils/size.c     2011-09-08 17:19:37.000000000 +0300
4 @@ -155,8 +155,10 @@ avr_device_t avr[] =
5         {"at90usb1286",   AVR128K, AVR8K,  AVR4K},
6         {"at90usb1287",   AVR128K, AVR8K,  AVR4K},
7         {"atmega128",     AVR128K, AVR4K,  AVR4K},
8 +       {"atmega128a",    AVR128K, AVR4K,  AVR4K},
9         {"atmega1280",    AVR128K, AVR8K,  AVR4K},
10         {"atmega1281",    AVR128K, AVR8K,  AVR4K},
11 +       {"atmega1284",    AVR128K, AVR16K, AVR4K},
12         {"atmega1284p",   AVR128K, AVR16K, AVR4K},
13         {"atmega128rfa1", AVR128K, AVR16K, AVR4K},
14         {"atmega103",     AVR128K, 4000UL, AVR4K},
15 @@ -296,6 +298,7 @@ avr_device_t avr[] =
16         {"at90usb82",     AVR8K,   AVR512, AVR512},
17         {"ata6289",       AVR8K,   AVR512, 320UL},
18         {"atmega8",       AVR8K,   AVR1K,  AVR512},
19 +       {"atmega8a",      AVR8K,   AVR1K,  AVR512},
20         {"atmega8515",    AVR8K,   AVR512, AVR512},
21         {"atmega8535",    AVR8K,   AVR512, AVR512},
22         {"atmega88",      AVR8K,   AVR1K,  AVR512},
23 diff -Naurp gas/config/tc-avr.c gas/config/tc-avr.c
24 --- gas/config/tc-avr.c 2011-09-08 17:12:34.000000000 +0300
25 +++ gas/config/tc-avr.c 2011-09-08 17:17:16.000000000 +0300
26 @@ -145,6 +145,7 @@ static struct mcu_type_s mcu_types[] =
27    {"atmega32u2", AVR_ISA_AVR35,   bfd_mach_avr35},
28    {"attiny1634", AVR_ISA_AVR35,   bfd_mach_avr35},
29    {"atmega8",    AVR_ISA_M8,      bfd_mach_avr4},
30 +  {"atmega8a",   AVR_ISA_M8,      bfd_mach_avr4},
31    {"atmega48",   AVR_ISA_AVR4,    bfd_mach_avr4},
32    {"atmega48a",  AVR_ISA_AVR4,    bfd_mach_avr4},
33    {"atmega48pa", AVR_ISA_AVR4,    bfd_mach_avr4},
34 @@ -254,8 +255,10 @@ static struct mcu_type_s mcu_types[] =
35    {"at94k",      AVR_ISA_94K,     bfd_mach_avr5},
36    {"m3000",      AVR_ISA_AVR5,    bfd_mach_avr5},
37    {"atmega128",  AVR_ISA_AVR51,   bfd_mach_avr51},
38 +  {"atmega128a", AVR_ISA_AVR51,   bfd_mach_avr51},
39    {"atmega1280", AVR_ISA_AVR51,   bfd_mach_avr51},
40    {"atmega1281", AVR_ISA_AVR51,   bfd_mach_avr51},
41 +  {"atmega1284", AVR_ISA_AVR51,   bfd_mach_avr51},
42    {"atmega1284p",AVR_ISA_AVR51,   bfd_mach_avr51},
43    {"atmega128rfa1",AVR_ISA_AVR51, bfd_mach_avr51},
44    {"atmega128rfa2",AVR_ISA_AVR51, bfd_mach_avr51},
45 diff -Naurp gas/doc/c-avr.texi gas/doc/c-avr.texi
46 --- gas/doc/c-avr.texi  2011-09-08 17:12:34.000000000 +0300
47 +++ gas/doc/c-avr.texi  2011-09-08 17:23:11.000000000 +0300
48 @@ -59,7 +59,7 @@ instructions (MCU types: attiny167, atti
49  atmega8u2, atmega16u2, atmega32u2).
50  
51  Instruction set avr4 is for the enhanced AVR core with up to 8K program
52 -memory space (MCU types: atmega48, atmega48a, atmega48pa, atmega48p,atmega8,
53 +memory space (MCU types: atmega48, atmega48a, atmega48pa, atmega48p,atmega8, atmega8a,
54  atmega88, atmega88a, atmega88p, atmega88pa, atmega8515, atmega8535, atmega8hva,
55  at90pwm1,at90pwm2, at90pwm2b, at90pwm3, at90pwm3b, at90pwm81).
56  
57 @@ -80,7 +80,7 @@ atmega32c1, atmega64c1, atmega64m1, atme
58  atmega16u4, atmega32u4, atmega32u6, at90usb646, at90usb647, at94k, at90scr100).
59  
60  Instruction set avr51 is for the enhanced AVR core with exactly 128K program
61 -memory space (MCU types: atmega128, atmega1280, atmega1281, atmega1284p,
62 +memory space (MCU types: atmega128, atmega128a, atmega1280, atmega1281, atmega1284, atmega1284p,
63  atmega128rfa1, atmega128rfa2, atmega128rfr2, at90can128, at90usb1286, at90usb1287, m3000).
64  
65  Instruction set avr6 is for the enhanced AVR core with a 3-byte PC (MCU types:
This page took 0.061199 seconds and 3 git commands to generate.