aboutsummaryrefslogtreecommitdiff
path: root/bfd/cpu-avr.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2006-05-24 07:36:12 +0000
committerNick Clifton <nickc@redhat.com>2006-05-24 07:36:12 +0000
commit28c9d252b48e5c262359910389f157de087060d6 (patch)
tree8a03a8b466f84f1857399df1447d6f74e5a1cd5e /bfd/cpu-avr.c
parentf607ec8858a8ce6a1a821257d657db95ee47af2a (diff)
downloadgdb-28c9d252b48e5c262359910389f157de087060d6.zip
gdb-28c9d252b48e5c262359910389f157de087060d6.tar.gz
gdb-28c9d252b48e5c262359910389f157de087060d6.tar.bz2
Add support for AVR6 family
Diffstat (limited to 'bfd/cpu-avr.c')
-rw-r--r--bfd/cpu-avr.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/bfd/cpu-avr.c b/bfd/cpu-avr.c
index 4c8c193..c83017a 100644
--- a/bfd/cpu-avr.c
+++ b/bfd/cpu-avr.c
@@ -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 =