This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Patch to disassemble.c missed in H8300 Normal mode patches
- From: "Dhananjay R. Deshpande" <dhananjayd at kpit dot com>
- To: <binutils at sources dot redhat dot com>
- Date: Mon, 12 May 2003 16:53:11 +0530
- Subject: Patch to disassemble.c missed in H8300 Normal mode patches
Hi,
Somehow I missed patch to disassemble.c in the earlier patch.
Regards,
Dhananjay
Opcodes/Changelog -
2003-05-12 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
* disassemble.c (disassembler): Add support for h8300hn and h8300sn
==========================================================================
--- disassemble.c.old Mon May 12 16:43:58 2003
+++ disassemble.c Mon May 12 16:40:19 2003
@@ -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;
================================================================================