diff options
Diffstat (limited to 'toolchain/binutils/patches/2.19.1')
-rw-r--r-- | toolchain/binutils/patches/2.19.1/700-avr32.patch | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/toolchain/binutils/patches/2.19.1/700-avr32.patch b/toolchain/binutils/patches/2.19.1/700-avr32.patch index e843a3f..8020c6f 100644 --- a/toolchain/binutils/patches/2.19.1/700-avr32.patch +++ b/toolchain/binutils/patches/2.19.1/700-avr32.patch @@ -13,7 +13,7 @@ . bfd_arch_bfin, {* ADI Blackfin *} .#define bfd_mach_bfin 1 . bfd_arch_cr16, {* National Semiconductor CompactRISC (ie CR16). *} -@@ -454,6 +460,7 @@ extern const bfd_arch_info_type bfd_alph +@@ -449,6 +455,7 @@ extern const bfd_arch_info_type bfd_alph extern const bfd_arch_info_type bfd_arc_arch; extern const bfd_arch_info_type bfd_arm_arch; extern const bfd_arch_info_type bfd_avr_arch; @@ -21,7 +21,7 @@ extern const bfd_arch_info_type bfd_bfin_arch; extern const bfd_arch_info_type bfd_cr16_arch; extern const bfd_arch_info_type bfd_cr16c_arch; -@@ -526,6 +533,7 @@ static const bfd_arch_info_type * const +@@ -520,6 +527,7 @@ static const bfd_arch_info_type * const &bfd_arc_arch, &bfd_arm_arch, &bfd_avr_arch, @@ -44,7 +44,7 @@ bfd_arch_bfin, /* ADI Blackfin */ #define bfd_mach_bfin 1 bfd_arch_cr16, /* National Semiconductor CompactRISC (ie CR16). */ -@@ -3748,6 +3754,88 @@ instructions */ +@@ -3743,6 +3749,88 @@ instructions */ instructions */ BFD_RELOC_AVR_6_ADIW, @@ -4239,7 +4239,7 @@ cpu-bfin.lo \ cpu-cr16.lo \ cpu-cr16c.lo \ -@@ -247,6 +248,7 @@ BFD32_BACKENDS = \ +@@ -245,6 +246,7 @@ BFD32_BACKENDS = \ elf32-arc.lo \ elf32-arm.lo \ elf32-avr.lo \ @@ -4247,7 +4247,7 @@ elf32-bfin.lo \ elf32-cr16.lo \ elf32-cr16c.lo \ -@@ -1355,6 +1357,10 @@ elf32-cr16.lo: elf32-cr16.c $(INCDIR)/fi +@@ -1350,6 +1352,10 @@ elf32-cr16.lo: elf32-cr16.c $(INCDIR)/fi $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h elf-bfd.h \ $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h \ $(INCDIR)/elf/cr16.h $(INCDIR)/elf/reloc-macros.h elf32-target.h @@ -4268,7 +4268,7 @@ cpu-bfin.lo \ cpu-cr16.lo \ cpu-cr16c.lo \ -@@ -501,6 +502,7 @@ BFD32_BACKENDS = \ +@@ -499,6 +500,7 @@ BFD32_BACKENDS = \ elf32-arc.lo \ elf32-arm.lo \ elf32-avr.lo \ @@ -4276,7 +4276,7 @@ elf32-bfin.lo \ elf32-cr16.lo \ elf32-cr16c.lo \ -@@ -1939,6 +1941,10 @@ elf32-cr16.lo: elf32-cr16.c $(INCDIR)/fi +@@ -1934,6 +1936,10 @@ elf32-cr16.lo: elf32-cr16.c $(INCDIR)/fi $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h elf-bfd.h \ $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h \ $(INCDIR)/elf/cr16.h $(INCDIR)/elf/reloc-macros.h elf32-target.h @@ -4431,7 +4431,7 @@ extern const bfd_target bfd_elf32_bfin_vec; extern const bfd_target bfd_elf32_bfinfdpic_vec; extern const bfd_target bfd_elf32_big_generic_vec; -@@ -898,6 +899,7 @@ static const bfd_target * const _bfd_tar +@@ -896,6 +897,7 @@ static const bfd_target * const _bfd_tar &bfd_efi_rtdrv_ia64_vec, #endif &bfd_elf32_avr_vec, @@ -9652,7 +9652,7 @@ bfin*) cpu_type=bfin endian=little ;; c4x*) cpu_type=tic4x ;; cr16*) cpu_type=cr16 endian=little ;; -@@ -134,6 +135,9 @@ case ${generic_target} in +@@ -133,6 +134,9 @@ case ${generic_target} in cr16-*-elf*) fmt=elf ;; @@ -9982,7 +9982,7 @@ bfin \ cr16 \ cris \ -@@ -242,6 +243,7 @@ TARGET_CPU_CFILES = \ +@@ -241,6 +242,7 @@ TARGET_CPU_CFILES = \ config/tc-arc.c \ config/tc-arm.c \ config/tc-avr.c \ @@ -9990,7 +9990,7 @@ config/tc-bfin.c \ config/tc-cr16.c \ config/tc-cris.c \ -@@ -303,6 +305,7 @@ TARGET_CPU_HFILES = \ +@@ -301,6 +303,7 @@ TARGET_CPU_HFILES = \ config/tc-arc.h \ config/tc-arm.h \ config/tc-avr.h \ @@ -9998,7 +9998,7 @@ config/tc-bfin.h \ config/tc-cr16.h \ config/tc-cris.h \ -@@ -1075,6 +1078,11 @@ DEPTC_avr_elf = $(srcdir)/config/obj-elf +@@ -1073,6 +1076,11 @@ DEPTC_avr_elf = $(srcdir)/config/obj-elf $(INCDIR)/bfdlink.h $(srcdir)/config/tc-avr.h dwarf2dbg.h \ $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \ $(INCDIR)/opcode/avr.h @@ -10010,7 +10010,7 @@ DEPTC_bfin_elf = $(srcdir)/config/obj-elf.h $(BFDDIR)/elf-bfd.h \ $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h \ $(INCDIR)/bfdlink.h $(srcdir)/config/tc-bfin.h dwarf2dbg.h \ -@@ -1511,6 +1519,11 @@ DEPOBJ_avr_elf = $(srcdir)/config/obj-el +@@ -1501,6 +1509,11 @@ DEPOBJ_avr_elf = $(srcdir)/config/obj-el $(INCDIR)/bfdlink.h $(srcdir)/config/tc-avr.h dwarf2dbg.h \ $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \ struc-symbol.h $(INCDIR)/aout/aout64.h @@ -10022,7 +10022,7 @@ DEPOBJ_bfin_elf = $(srcdir)/config/obj-elf.h $(BFDDIR)/elf-bfd.h \ $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h \ $(INCDIR)/bfdlink.h $(srcdir)/config/tc-bfin.h dwarf2dbg.h \ -@@ -1884,6 +1897,9 @@ DEP_cr16_elf = $(srcdir)/config/obj-elf. +@@ -1869,6 +1882,9 @@ DEP_cr16_elf = $(srcdir)/config/obj-elf. $(INCDIR)/bfdlink.h $(srcdir)/config/tc-cr16.h dwarf2dbg.h \ $(srcdir)/config/obj-coff.h $(INCDIR)/coff/internal.h \ $(BFDDIR)/libcoff.h @@ -10042,7 +10042,7 @@ bfin \ cr16 \ cris \ -@@ -489,6 +490,7 @@ TARGET_CPU_CFILES = \ +@@ -488,6 +489,7 @@ TARGET_CPU_CFILES = \ config/tc-arc.c \ config/tc-arm.c \ config/tc-avr.c \ @@ -10050,7 +10050,7 @@ config/tc-bfin.c \ config/tc-cr16.c \ config/tc-cris.c \ -@@ -550,6 +552,7 @@ TARGET_CPU_HFILES = \ +@@ -548,6 +550,7 @@ TARGET_CPU_HFILES = \ config/tc-arc.h \ config/tc-arm.h \ config/tc-avr.h \ @@ -10058,7 +10058,7 @@ config/tc-bfin.h \ config/tc-cr16.h \ config/tc-cris.h \ -@@ -844,6 +847,12 @@ DEPTC_avr_elf = $(srcdir)/config/obj-elf +@@ -841,6 +844,12 @@ DEPTC_avr_elf = $(srcdir)/config/obj-elf $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \ $(INCDIR)/opcode/avr.h @@ -10071,7 +10071,7 @@ DEPTC_bfin_elf = $(srcdir)/config/obj-elf.h $(BFDDIR)/elf-bfd.h \ $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h \ $(INCDIR)/bfdlink.h $(srcdir)/config/tc-bfin.h dwarf2dbg.h \ -@@ -1359,6 +1368,12 @@ DEPOBJ_avr_elf = $(srcdir)/config/obj-el +@@ -1349,6 +1358,12 @@ DEPOBJ_avr_elf = $(srcdir)/config/obj-el $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \ struc-symbol.h $(INCDIR)/aout/aout64.h @@ -10084,7 +10084,7 @@ DEPOBJ_bfin_elf = $(srcdir)/config/obj-elf.h $(BFDDIR)/elf-bfd.h \ $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h \ $(INCDIR)/bfdlink.h $(srcdir)/config/tc-bfin.h dwarf2dbg.h \ -@@ -1814,6 +1829,10 @@ DEP_cr16_elf = $(srcdir)/config/obj-elf. +@@ -1799,6 +1814,10 @@ DEP_cr16_elf = $(srcdir)/config/obj-elf. $(srcdir)/config/obj-coff.h $(INCDIR)/coff/internal.h \ $(BFDDIR)/libcoff.h @@ -18318,7 +18318,7 @@ extern int print_insn_bfin (bfd_vma, disassemble_info *); extern int print_insn_big_arm (bfd_vma, disassemble_info *); extern int print_insn_big_mips (bfd_vma, disassemble_info *); -@@ -293,7 +294,9 @@ extern void print_i386_disassembler_opti +@@ -292,7 +293,9 @@ extern void print_i386_disassembler_opti extern void print_mips_disassembler_options (FILE *); extern void print_ppc_disassembler_options (FILE *); extern void print_arm_disassembler_options (FILE *); @@ -18978,7 +18978,7 @@ ecoff_i860.o \ ecoff_sparc.o \ eelf32_spu.o \ -@@ -648,6 +695,194 @@ eavr6.c: $(srcdir)/emulparams/avr6.sh $( +@@ -646,6 +693,194 @@ eavr6.c: $(srcdir)/emulparams/avr6.sh $( $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \ ${GEN_DEPENDS} ${GENSCRIPTS} avr6 "$(tdir_avr2)" @@ -19229,7 +19229,7 @@ ecoff_i860.o \ ecoff_sparc.o \ eelf32_spu.o \ -@@ -1480,6 +1527,194 @@ eavr6.c: $(srcdir)/emulparams/avr6.sh $( +@@ -1478,6 +1525,194 @@ eavr6.c: $(srcdir)/emulparams/avr6.sh $( $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \ ${GEN_DEPENDS} ${GENSCRIPTS} avr6 "$(tdir_avr2)" @@ -30605,7 +30605,7 @@ #define ARCH_bfin #define ARCH_cr16 #define ARCH_cris -@@ -129,6 +130,11 @@ disassembler (abfd) +@@ -128,6 +129,11 @@ disassembler (abfd) disassemble = print_insn_avr; break; #endif @@ -30617,7 +30617,7 @@ #ifdef ARCH_bfin case bfd_arch_bfin: disassemble = print_insn_bfin; -@@ -472,6 +478,9 @@ disassembler_usage (stream) +@@ -466,6 +472,9 @@ disassembler_usage (stream) #ifdef ARCH_i386 print_i386_disassembler_options (stream); #endif |