From 049f8936e906ba762b5460a0b79e2fc7a39c6f4b Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 12 May 2003 11:57:32 +0000 Subject: [PATCH] Add support for h8300hn and h8300sn --- opcodes/ChangeLog | 4 ++++ opcodes/disassemble.c | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 97ae91e..54521ea 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 1408f39..2d1358e 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; -- 2.7.4