Add new arc core numbers.

This commit is contained in:
Nick Clifton 2001-01-19 04:08:52 +00:00
parent 5dbd90485c
commit ea8d0b28e6
2 changed files with 12 additions and 9 deletions

View File

@ -1,3 +1,9 @@
2001-01-18 Nick Clifton <nickc@redhat.com>
* arc-tdep.c (arc_cpu_type_table): Add new arc core numbers.
(arc_print_insn): No bfd available, so pass NULL to
arc_get_disassembler.
2001-01-09 James Ingham <jingham@inghji.apple.com>
* symtab.c (lookup_symbol_aux): Call lookup_symbol_aux to lookup

View File

@ -44,13 +44,11 @@ struct
}
arc_cpu_type_table[] =
{
{
"base", bfd_mach_arc_base
}
,
{
NULL, 0
}
{ "arc5", bfd_mach_arc_5 },
{ "arc6", bfd_mach_arc_6 },
{ "arc7", bfd_mach_arc_7 },
{ "arc8", bfd_mach_arc_8 },
{ NULL, 0 }
};
/* Used by simulator. */
@ -618,8 +616,7 @@ arc_print_insn (bfd_vma vma, disassemble_info *info)
{
current_mach = arc_bfd_mach_type;
current_endian = TARGET_BYTE_ORDER;
current_disasm = arc_get_disassembler (current_mach,
current_endian == BIG_ENDIAN);
current_disasm = arc_get_disassembler (NULL);
}
return (*current_disasm) (vma, info);