Regen cgen files
[deliverable/binutils-gdb.git] / opcodes / or1k-desc.c
index 3a9fdb73ddc00a66d233f93f4c78791f92df5657..003beb7bd73cf55270845de2b0d0a4528558c108 100644 (file)
@@ -1795,7 +1795,7 @@ lookup_mach_via_bfd_name (const CGEN_MACH *table, const char *name)
        return table;
       ++table;
     }
-  abort ();
+  return NULL;
 }
 
 /* Subroutine of or1k_cgen_cpu_open to build the hardware table.  */
@@ -2009,7 +2009,8 @@ or1k_cgen_cpu_open (enum cgen_cpu_open_arg arg_type, ...)
            const CGEN_MACH *mach =
              lookup_mach_via_bfd_name (or1k_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.025305 seconds and 4 git commands to generate.