Give Palmer co-credit for last patch.
[deliverable/binutils-gdb.git] / opcodes / epiphany-desc.c
index 1b15e01ed97cacee0c498cc4d5054565f39b562f..8b8c357f589fe9244c7a8c25ee55a8c7529cd3c5 100644 (file)
@@ -1,3 +1,4 @@
+/* DO NOT EDIT!  -*- buffer-read-only: t -*- vi:set ro:  */
 /* CPU data for epiphany.
 
 THIS FILE IS MACHINE GENERATED WITH CGEN.
@@ -1956,7 +1957,7 @@ lookup_mach_via_bfd_name (const CGEN_MACH *table, const char *name)
        return table;
       ++table;
     }
-  abort ();
+  return NULL;
 }
 
 /* Subroutine of epiphany_cgen_cpu_open to build the hardware table.  */
@@ -2170,7 +2171,8 @@ epiphany_cgen_cpu_open (enum cgen_cpu_open_arg arg_type, ...)
            const CGEN_MACH *mach =
              lookup_mach_via_bfd_name (epiphany_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.023469 seconds and 4 git commands to generate.