openbsd-ports/devel/avr/binutils/patches/patch-bfd_bfd-in2_h
ckuethe ebcb40e5e1 Update to the latest AVR gcc, binutils, libc and gdb. Based on the FreeBSD
port, which is also in sync with winavr/avrstudio. Among other things, this
adds support for atmega328... which means new arduino boards should work.
2010-06-27 20:58:10 +00:00

18 lines
687 B
Plaintext

$OpenBSD: patch-bfd_bfd-in2_h,v 1.3 2010/06/27 20:58:10 ckuethe Exp $
--- bfd/bfd-in2.h.orig Sat Jun 26 11:23:52 2010
+++ bfd/bfd-in2.h Sat Jun 26 11:31:17 2010
@@ -2035,6 +2035,13 @@ enum bfd_architecture
#define bfd_mach_avr5 5
#define bfd_mach_avr51 51
#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). */