diff options
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 = |