X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=bfd%2Fcpu-avr.c;h=82b282ac22f3d8f1dddd68fba7cdeb109734b335;hb=8857127957668b516c891330b6d56c3dde8f8b32;hp=4c8c193f6169285b5eb9c1005fd1a81c5f2e3f4e;hpb=01f0fe5e0450edf168c1f612feb93cf588e4e7ea;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/cpu-avr.c b/bfd/cpu-avr.c index 4c8c193f61..82b282ac22 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 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 =