* s390-dis.c (init_disasm): Rename S390_OPCODE_ESAME to
[deliverable/binutils-gdb.git] / opcodes / s390-dis.c
index 8745a8943739e10960973b7c07eb7aa71489caa5..33121c78b70374fae7f5cc1eb5cbe05a1693508f 100644 (file)
@@ -57,7 +57,7 @@ init_disasm (info)
       current_arch_mask = 1 << S390_OPCODE_ESA;
       break;
     case bfd_mach_s390_64:
-      current_arch_mask = 1 << S390_OPCODE_ESAME;
+      current_arch_mask = 1 << S390_OPCODE_ZARCH;
       break;
     default:
       abort ();
@@ -161,7 +161,7 @@ print_insn_s390 (memaddr, info)
          const unsigned char *opindex;
 
          /* Check architecture.  */
-         if (!(opcode->architecture & current_arch_mask))
+         if (!(opcode->modes & current_arch_mask))
            continue;
          /* Check signature of the opcode.  */
          if ((buffer[1] & opcode->mask[1]) != opcode->opcode[1]
This page took 0.038825 seconds and 4 git commands to generate.