This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
disassembler doesn't handle H8SX normal mode
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: binutils at sources dot redhat dot com
- Date: 27 Jun 2004 03:30:33 -0300
- Subject: disassembler doesn't handle H8SX normal mode
- Organization: Red Hat Global Engineering Services Compiler Team
This patch fixes it. I'm checking it in as obvious.
Index: opcodes/ChangeLog
from Alexandre Oliva <aoliva@redhat.com>
2003-07-21 Richard Sandiford <rsandifo@redhat.com>
* disassemble.c (disassembler): Handle bfd_mach_h8300sxn.
Index: opcodes/disassemble.c
===================================================================
RCS file: /cvs/uberbaum/./opcodes/disassemble.c,v
retrieving revision 1.45
diff -u -p -r1.45 disassemble.c
--- opcodes/disassemble.c 14 Nov 2003 15:12:44 -0000 1.45
+++ opcodes/disassemble.c 27 Jun 2004 06:27:12 -0000
@@ -146,7 +146,8 @@ disassembler (abfd)
disassemble = print_insn_h8300h;
else if (bfd_get_mach (abfd) == bfd_mach_h8300s
|| bfd_get_mach (abfd) == bfd_mach_h8300sn
- || bfd_get_mach (abfd) == bfd_mach_h8300sx)
+ || bfd_get_mach (abfd) == bfd_mach_h8300sx
+ || bfd_get_mach (abfd) == bfd_mach_h8300sxn)
disassemble = print_insn_h8300s;
else
disassemble = print_insn_h8300;
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}