diff options
Diffstat (limited to 'bfd/cpu-arc.c')
-rw-r--r-- | bfd/cpu-arc.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/bfd/cpu-arc.c b/bfd/cpu-arc.c index a99e539..8bf4393 100644 --- a/bfd/cpu-arc.c +++ b/bfd/cpu-arc.c @@ -42,22 +42,24 @@ static const bfd_arch_info_type arch_info_struct[] = { - ARC ( bfd_mach_arc_5, "arc5", FALSE, &arch_info_struct[1] ), - ARC ( bfd_mach_arc_5, "base", FALSE, &arch_info_struct[2] ), - ARC ( bfd_mach_arc_6, "arc6", FALSE, &arch_info_struct[3] ), - ARC ( bfd_mach_arc_7, "arc7", FALSE, &arch_info_struct[4] ), - ARC ( bfd_mach_arc_8, "arc8", FALSE, NULL ), + ARC (bfd_mach_arc_arc600, "ARC600", FALSE, &arch_info_struct[1]), + ARC (bfd_mach_arc_arc600, "A6" , FALSE, &arch_info_struct[2]), + ARC (bfd_mach_arc_arc601, "ARC601", FALSE, &arch_info_struct[3]), + ARC (bfd_mach_arc_arc700, "ARC700", FALSE, &arch_info_struct[4]), + ARC (bfd_mach_arc_arc700, "A7", FALSE, &arch_info_struct[5]), + ARC (bfd_mach_arc_arcv2, "ARCv2", FALSE, &arch_info_struct[6]), + ARC (bfd_mach_arc_arcv2, "EM", FALSE, &arch_info_struct[7]), + ARC (bfd_mach_arc_arcv2, "HS", FALSE, NULL), }; const bfd_arch_info_type bfd_arc_arch = - ARC ( bfd_mach_arc_6, "arc", TRUE, &arch_info_struct[0] ); + ARC (bfd_mach_arc_arcv2, "HS", TRUE, &arch_info_struct[0]); /* Utility routines. */ /* Given cpu type NAME, return its bfd_mach_arc_xxx value. Returns -1 if not found. */ - -int arc_get_mach (char *); +int arc_get_mach (char *name); int arc_get_mach (char *name) |