]> git.pld-linux.org Git - packages/crossavr-binutils.git/blob - 407-binutils-2.20.1-at90pwm161.patch
- synchronized patches with Atmel official AVR8-GNU toolchain.
[packages/crossavr-binutils.git] / 407-binutils-2.20.1-at90pwm161.patch
1 diff -Naurp binutils/size.c binutils/size.c
2 --- binutils/size.c     2011-09-05 15:47:17.000000000 +0300
3 +++ binutils/size.c     2011-09-05 15:47:30.000000000 +0300
4 @@ -221,6 +221,7 @@ avr_device_t avr[] =
5         {"atxmega16d4",   AVR20K,  AVR2K,  AVR1K},
6  
7         {"at76c711",      AVR16K,  AVR2K,  0UL},
8 +       {"at90pwm161",    AVR16K,  AVR1K,  AVR512},
9         {"at90pwm216",    AVR16K,  AVR1K,  AVR512},
10         {"at90pwm316",    AVR16K,  AVR1K,  AVR512},
11         {"at90usb162",    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:47:17.000000000 +0300
14 +++ gas/config/tc-avr.c 2011-09-05 15:47:30.000000000 +0300
15 @@ -159,6 +159,7 @@ static struct mcu_type_s mcu_types[] =
16    {"at90pwm3",   AVR_ISA_AVR4,    bfd_mach_avr4},
17    {"at90pwm3b",  AVR_ISA_AVR4,    bfd_mach_avr4},
18    {"at90pwm81",  AVR_ISA_AVR4,    bfd_mach_avr4},
19 +  {"at90pwm161", AVR_ISA_AVR5,    bfd_mach_avr5},
20    {"atmega16",   AVR_ISA_AVR5,    bfd_mach_avr5},
21    {"atmega16a",  AVR_ISA_AVR5,    bfd_mach_avr5},
22    {"atmega161",  AVR_ISA_M161,    bfd_mach_avr5},
23 diff -Naurp gas/doc/c-avr.texi gas/doc/c-avr.texi
24 --- gas/doc/c-avr.texi  2011-09-05 15:47:17.000000000 +0300
25 +++ gas/doc/c-avr.texi  2011-09-05 15:47:30.000000000 +0300
26 @@ -65,8 +65,8 @@ at90pwm1,at90pwm2, at90pwm2b, at90pwm3, 
27  at90pwm81).
28  
29  Instruction set avr5 is for the enhanced AVR core with up to 128K program
30 -memory space (MCU types: atmega16, atmega16a, atmega161, atmega162, atmega163,
31 -atmega164a, atmega164p, atmega165, atmega165a, atmega165p, atmega168, 
32 +memory space (MCU types: at90pwm161, atmega16, atmega16a, atmega161, atmega162,
33 +atmega163, atmega164a, atmega164p, atmega165, atmega165a, atmega165p, atmega168, 
34  atmega168a, atmega168p, atmega169, atmega169p, atmega169pa,
35  atmega32, atmega323, atmega324a, atmega324p, atmega324pa, atmega325, atmega325a,
36  atmega325p, atmega3250, atmega3250a, atmega3250p, atmega328, atmega328p,
37 diff -Naurp ld/Makefile.in ld/Makefile.in
38 --- ld/Makefile.in      2011-09-05 15:33:12.000000000 +0300
39 +++ ld/Makefile.in      2011-09-05 15:47:30.000000000 +0300
40 @@ -441,6 +441,7 @@ ALL_EMULATIONS = \
41         eavrxmega5.o \
42         eavrxmega6.o \
43         eavrxmega7.o \
44 +       eavrtiny10.o \
45         ecoff_i860.o \
46         ecoff_sparc.o \
47         eelf32_spu.o \
48 @@ -952,6 +953,14 @@ distclean-compile:
49  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavr5.Po@am__quote@
50  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavr51.Po@am__quote@
51  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavr6.Po@am__quote@
52 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavrtiny10.Po@am__quote@
53 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavrxmega1.Po@am__quote@
54 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavrxmega2.Po@am__quote@
55 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavrxmega3.Po@am__quote@
56 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavrxmega4.Po@am__quote@
57 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavrxmega5.Po@am__quote@
58 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavrxmega6.Po@am__quote@
59 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavrxmega7.Po@am__quote@
60  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ecoff_i860.Po@am__quote@
61  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ecoff_sparc.Po@am__quote@
62  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ecrisaout.Po@am__quote@
63 @@ -2104,6 +2113,10 @@ eavrxmega7.c: $(srcdir)/emulparams/avrxm
64    $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
65    ${GEN_DEPENDS}
66         ${GENSCRIPTS} avrxmega7 "$(tdir_avr2)"
67 +eavrtiny10.c: $(srcdir)/emulparams/avrtiny10.sh \
68 +  $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
69 +  ${GEN_DEPENDS}
70 +       ${GENSCRIPTS} avrtiny10 "$(tdir_avr2)"
71  ecoff_i860.c: $(srcdir)/emulparams/coff_i860.sh \
72    $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i860coff.sc ${GEN_DEPENDS}
73         ${GENSCRIPTS} coff_i860 "$(tdir_coff_i860)"
This page took 0.067137 seconds and 3 git commands to generate.