* v850-dis.c (disassemble): Remove bfd_mach_v850ea case.
authorAlan Modra <amodra@gmail.com>
Fri, 30 Aug 2002 08:28:08 +0000 (08:28 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 30 Aug 2002 08:28:08 +0000 (08:28 +0000)
* mips-dis.c (_print_insn_mips): Don't use hard-coded mach constants.

opcodes/ChangeLog
opcodes/mips-dis.c
opcodes/v850-dis.c

index 7fd83af..5e0cfe9 100644 (file)
@@ -1,3 +1,9 @@
+2002-08-30  Alan Modra  <amodra@bigpond.net.au>
+
+       * v850-dis.c (disassemble): Remove bfd_mach_v850ea case.
+
+       * mips-dis.c (_print_insn_mips): Don't use hard-coded mach constants.
+
 2002-08-28  Svein E. Seldal  <Svein.Seldal@solidas.com>
 
        * configure.in: Added bfd_tic4x_arch.
index 9b35a47..af44788 100644 (file)
@@ -595,7 +595,7 @@ _print_insn_mips (memaddr, info, endianness)
 #endif
 
 #if SYMTAB_AVAILABLE
-  if (info->mach == 16
+  if (info->mach == bfd_mach_mips16
       || (info->flavour == bfd_target_elf_flavour
          && info->symbols != NULL
          && ((*(elf_symbol_type **) info->symbols)->internal_elf_sym.st_other
index e72b1e8..dbd43aa 100644 (file)
@@ -77,10 +77,6 @@ disassemble (memaddr, info, insn)
     case bfd_mach_v850e:
       target_processor = PROCESSOR_V850E;
       break;
-
-    case bfd_mach_v850ea: 
-      target_processor = PROCESSOR_V850EA;
-      break;
     }
   
   /* Find the opcode.  */