Regen cgen files
[deliverable/binutils-gdb.git] / opcodes / xstormy16-desc.c
index 722649341945242e1d058532f524c98031529851..76b8f078b3de0bc9e627e272013b9df6442134e4 100644 (file)
@@ -1164,7 +1164,7 @@ lookup_mach_via_bfd_name (const CGEN_MACH *table, const char *name)
        return table;
       ++table;
     }
-  abort ();
+  return NULL;
 }
 
 /* Subroutine of xstormy16_cgen_cpu_open to build the hardware table.  */
@@ -1378,7 +1378,8 @@ xstormy16_cgen_cpu_open (enum cgen_cpu_open_arg arg_type, ...)
            const CGEN_MACH *mach =
              lookup_mach_via_bfd_name (xstormy16_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.024739 seconds and 4 git commands to generate.