Optimize .gdb_index symbol name searching
[deliverable/binutils-gdb.git] / opcodes / ip2k-desc.c
index 1f45fa0b4624f3d241319097f9367948803eca16..ae8c8da1dfc676d222f6d3c997c44c3f896849a9 100644 (file)
@@ -1,3 +1,4 @@
+/* DO NOT EDIT!  -*- buffer-read-only: t -*- vi:set ro:  */
 /* CPU data for ip2k.
 
 THIS FILE IS MACHINE GENERATED WITH CGEN.
@@ -862,7 +863,7 @@ lookup_mach_via_bfd_name (const CGEN_MACH *table, const char *name)
        return table;
       ++table;
     }
-  abort ();
+  return NULL;
 }
 
 /* Subroutine of ip2k_cgen_cpu_open to build the hardware table.  */
@@ -1076,7 +1077,8 @@ ip2k_cgen_cpu_open (enum cgen_cpu_open_arg arg_type, ...)
            const CGEN_MACH *mach =
              lookup_mach_via_bfd_name (ip2k_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.023648 seconds and 4 git commands to generate.