On Monday 02 February 2009 13:53, you wrote: > When I applied the xmega-patches to binutils 2.19, the build-process > failed: > ../../binutils-2.19/bfd/elf32-avr.c: In function > 'bfd_elf_avr_final_write_processing': > ../../binutils-2.19/bfd/elf32-avr.c:1331: error: 'bfd_mach_avrxmega1' > undeclared (first use in this function) Insert the attached patch like this: .... other patches 50-binutils-2.19-xmega.patch 51-binutils-2.19-xmega2.patch 52-1-xmega_sup.patch 52-binutils-2.19-atmega32u6.patch
> My point was, that it would be easier for (non-windows) users, if the > patches delivered with winavr would also contain the makefile-updates, > so that's unnecessary to run automake / bootstrap to build a toolchain > with the same patches as included in the winavr release. Indeed. Ruud
--- bfd/bfd-in2.h~ 2007-08-06 21:59:15.000000000 +0200 +++ bfd/bfd-in2.h 2008-07-22 17:55:46.000000000 +0200 @@ -2017,6 +2017,13 @@ #define bfd_mach_avr4 4 #define bfd_mach_avr5 5 #define bfd_mach_avr6 6 +#define bfd_mach_avrxmega1 101 +#define bfd_mach_avrxmega2 102 +#define bfd_mach_avrxmega3 103 +#define bfd_mach_avrxmega4 104 +#define bfd_mach_avrxmega5 105 +#define bfd_mach_avrxmega6 106 +#define bfd_mach_avrxmega7 107 bfd_arch_bfin, /* ADI Blackfin */ #define bfd_mach_bfin 1 bfd_arch_cr16, /* National Semiconductor CompactRISC (ie CR16). */
_______________________________________________ AVR-GCC-list mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
