openbsd-ports/devel/avr/binutils/patches/patch-bfd_targets_c
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

22 lines
798 B
Plaintext

$OpenBSD: patch-bfd_targets_c,v 1.3 2010/06/27 20:58:10 ckuethe Exp $
--- bfd/targets.c.orig Sat Jun 26 11:23:54 2010
+++ bfd/targets.c Sat Jun 26 11:31:17 2010
@@ -564,6 +564,8 @@ extern const bfd_target armpe_big_vec;
extern const bfd_target armpe_little_vec;
extern const bfd_target armpei_big_vec;
extern const bfd_target armpei_little_vec;
+extern const bfd_target avrcoff_vec;
+extern const bfd_target avrextcoff_vec;
extern const bfd_target b_out_vec_big_host;
extern const bfd_target b_out_vec_little_host;
extern const bfd_target bfd_pei_ia64_vec;
@@ -890,6 +892,8 @@ static const bfd_target * const _bfd_target_vector[] =
&armpe_little_vec,
&armpei_big_vec,
&armpei_little_vec,
+ &avrcoff_vec,
+ &avrextcoff_vec,
&b_out_vec_big_host,
&b_out_vec_little_host,
#ifdef BFD64