diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2010-10-30 23:02:32 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2010-10-30 23:02:32 +0000 |
commit | b3cded65e92ba4d9b5e5a33fb95c4d551bda9c1b (patch) | |
tree | 69d40fbef2c0c4ee32fe97b7a28b510f2e3c2dbc /bfd/cpu-avr.c | |
parent | 7a815afd9b5121ee0f65dc1e1de1c0de6de97679 (diff) |
Notes
Diffstat (limited to 'bfd/cpu-avr.c')
-rw-r--r-- | bfd/cpu-avr.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/bfd/cpu-avr.c b/bfd/cpu-avr.c index 4c8c193f6169..82b282ac22f3 100644 --- a/bfd/cpu-avr.c +++ b/bfd/cpu-avr.c @@ -1,5 +1,5 @@ /* BFD library support routines for the AVR architecture. - Copyright 1999, 2000, 2002, 2006 Free Software Foundation, Inc. + Copyright 1999, 2000, 2002, 2006, 2007 Free Software Foundation, Inc. Contributed by Denis Chertykov <denisc@overta.ru> This file is part of BFD, the Binary File Descriptor library. @@ -18,8 +18,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ -#include "bfd.h" #include "sysdep.h" +#include "bfd.h" #include "libbfd.h" /* This routine is provided two arch_infos and works out which AVR @@ -82,7 +82,10 @@ static const bfd_arch_info_type arch_info_struct[] = N (16, bfd_mach_avr4, "avr:4", FALSE, & arch_info_struct[4]), /* ATmega161, ATmega163, ATmega32, AT94K. */ - N (22, bfd_mach_avr5, "avr:5", FALSE, NULL) + N (22, bfd_mach_avr5, "avr:5", FALSE, & arch_info_struct[5]), + + /* ATmega256x. */ + N (22, bfd_mach_avr6, "avr:6", FALSE, NULL) }; const bfd_arch_info_type bfd_avr_arch = |