From: Nick Clifton Date: Mon, 12 May 2003 11:57:32 +0000 (+0000) Subject: Add support for h8300hn and h8300sn X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=049f8936e906ba762b5460a0b79e2fc7a39c6f4b;p=binutils-gdb.git Add support for h8300hn and h8300sn --- diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 97ae91eb3d0..54521ea2461 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,7 @@ +2003-05-12 Dhananjay Deshpande + + * disassemble.c (disassembler): Add support for h8300hn and h8300sn. + 2003-05-09 Alan Modra * i386-dis.c (print_insn): Test intel_syntax against (char) -1 in diff --git a/opcodes/disassemble.c b/opcodes/disassemble.c index 1408f39b1c1..2d1358eb172 100644 --- a/opcodes/disassemble.c +++ b/opcodes/disassemble.c @@ -141,9 +141,11 @@ disassembler (abfd) #endif #ifdef ARCH_h8300 case bfd_arch_h8300: - if (bfd_get_mach(abfd) == bfd_mach_h8300h) + if (bfd_get_mach (abfd) == bfd_mach_h8300h + || bfd_get_mach (abfd) == bfd_mach_h8300hn) disassemble = print_insn_h8300h; - else if (bfd_get_mach(abfd) == bfd_mach_h8300s) + else if (bfd_get_mach (abfd) == bfd_mach_h8300s + || bfd_get_mach (abfd) == bfd_mach_h8300sn) disassemble = print_insn_h8300s; else disassemble = print_insn_h8300;