Regen cgen files
[deliverable/binutils-gdb.git] / opcodes / mt-desc.c
index 1a3441adfcaa8501b35f6316d242fb61c03073bb..24e2af02f5ecc6b751abbb2b976400de962d4f79 100644 (file)
@@ -993,7 +993,7 @@ lookup_mach_via_bfd_name (const CGEN_MACH *table, const char *name)
        return table;
       ++table;
     }
-  abort ();
+  return NULL;
 }
 
 /* Subroutine of mt_cgen_cpu_open to build the hardware table.  */
@@ -1207,7 +1207,8 @@ mt_cgen_cpu_open (enum cgen_cpu_open_arg arg_type, ...)
            const CGEN_MACH *mach =
              lookup_mach_via_bfd_name (mt_cgen_mach_table, name);
 
-           machs |= 1 << mach->num;
+           if (mach != NULL)
+             machs |= 1 << mach->num;
            break;
          }
        case CGEN_CPU_OPEN_ENDIAN :
This page took 0.024914 seconds and 4 git commands to generate.