]> git.pld-linux.org Git - packages/crossavr-binutils.git/blob - 410-binutils-2.20.1-attiny1634.patch
- synchronized patches with Atmel official AVR8-GNU toolchain.
[packages/crossavr-binutils.git] / 410-binutils-2.20.1-attiny1634.patch
1 diff -Naurp binutils/size.c binutils/size.c
2 --- binutils/size.c     2011-09-05 15:49:15.000000000 +0300
3 +++ binutils/size.c     2011-09-05 15:50:47.000000000 +0300
4 @@ -251,6 +251,7 @@ avr_device_t avr[] =
5          {"atmega16hvb",   AVR16K,  AVR1K,  AVR512},
6          {"atmega16hvbrevb",AVR16K, AVR1K,  AVR512},
7         {"atmega16m1",    AVR16K,  AVR1K,  AVR512},
8 +       {"attiny1634",    AVR16K,  AVR1K,  AVR256},
9         {"atmega16u2",    AVR16K,  AVR512, AVR512},
10         {"atmega16u4",    AVR16K,  1280UL, AVR512},
11         {"attiny167",     AVR16K,  AVR512, AVR512},
12 diff -Naurp gas/config/tc-avr.c gas/config/tc-avr.c
13 --- gas/config/tc-avr.c 2011-09-05 15:49:15.000000000 +0300
14 +++ gas/config/tc-avr.c 2011-09-05 15:50:47.000000000 +0300
15 @@ -142,6 +142,7 @@ static struct mcu_type_s mcu_types[] =
16    {"atmega8u2",  AVR_ISA_AVR35,   bfd_mach_avr35},
17    {"atmega16u2", AVR_ISA_AVR35,   bfd_mach_avr35},
18    {"atmega32u2", AVR_ISA_AVR35,   bfd_mach_avr35},
19 +  {"attiny1634", AVR_ISA_AVR35,   bfd_mach_avr35},
20    {"atmega8",    AVR_ISA_M8,      bfd_mach_avr4},
21    {"atmega48",   AVR_ISA_AVR4,    bfd_mach_avr4},
22    {"atmega48a",  AVR_ISA_AVR4,    bfd_mach_avr4},
23 diff -Naurp gas/doc/c-avr.texi gas/doc/c-avr.texi
24 --- gas/doc/c-avr.texi  2011-09-05 15:49:15.000000000 +0300
25 +++ gas/doc/c-avr.texi  2011-09-05 15:50:47.000000000 +0300
26 @@ -55,8 +55,8 @@ Instruction set avr31 is for the classic
27  memory space (MCU types: atmega103, at43usb320).
28  
29  Instruction set avr35 is for classic AVR core plus MOVW, CALL, and JMP
30 -instructions (MCU types: attiny167, at90usb82, at90usb162, atmega8u2,
31 -atmega16u2, atmega32u2).
32 +instructions (MCU types: attiny167, attiny1634, at90usb82, at90usb162,
33 +atmega8u2, atmega16u2, atmega32u2).
34  
35  Instruction set avr4 is for the enhanced AVR core with up to 8K program
36  memory space (MCU types: atmega48, atmega48a, atmega48p,atmega8, atmega88, 
This page took 0.061478 seconds and 3 git commands to generate.