Add support for h8300hn and h8300sn
authorNick Clifton <nickc@redhat.com>
Mon, 12 May 2003 11:57:32 +0000 (11:57 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 12 May 2003 11:57:32 +0000 (11:57 +0000)
opcodes/ChangeLog
opcodes/disassemble.c

index 97ae91eb3d0e8b0f0971a2b914abd09d98de32fd..54521ea2461af73d02db4d67a44a8bcd4617a404 100644 (file)
@@ -1,3 +1,7 @@
+2003-05-12  Dhananjay Deshpande  <dhananjayd@kpitcummins.com>
+
+       * disassemble.c (disassembler): Add support for h8300hn and h8300sn.
+
 2003-05-09  Alan Modra  <amodra@bigpond.net.au>
 
        * i386-dis.c (print_insn): Test intel_syntax against (char) -1 in
index 1408f39b1c145747f3b832494c0c1e939780b2e7..2d1358eb172107f733e9229018da24a3003864f3 100644 (file)
@@ -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;
This page took 0.091191 seconds and 4 git commands to generate.