* coffcode.h (coff_set_alignment_hook): With PE_COFF reloc
[deliverable/binutils-gdb.git] / opcodes / disassemble.c
index 7e6ba0b807db6795da3ff3260266143bd3e44974..2d1358eb172107f733e9229018da24a3003864f3 100644 (file)
@@ -68,6 +68,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 #define ARCH_vax
 #define ARCH_w65
 #define ARCH_xstormy16
+#define ARCH_xtensa
 #define ARCH_z8k
 #define ARCH_frv
 #define ARCH_iq2000
@@ -140,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;
@@ -343,6 +346,11 @@ disassembler (abfd)
       disassemble = print_insn_xstormy16;
       break;
 #endif
+#ifdef ARCH_xtensa
+    case bfd_arch_xtensa:
+      disassemble = print_insn_xtensa;
+      break;
+#endif
 #ifdef ARCH_z8k
     case bfd_arch_z8k:
       if (bfd_get_mach(abfd) == bfd_mach_z8001)
This page took 0.031966 seconds and 4 git commands to generate.