X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=opcodes%2Fmt-desc.c;h=6d33796a785d93cd5a29d10b4481766a5d9f5cfa;hb=8cfcb7659cb844dff00efbbb644c15b650fb7e8b;hp=1a3441adfcaa8501b35f6316d242fb61c03073bb;hpb=2571583aed598dd3f9651b53434e5f177a0e3cf7;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/mt-desc.c b/opcodes/mt-desc.c index 1a3441adfc..6d33796a78 100644 --- a/opcodes/mt-desc.c +++ b/opcodes/mt-desc.c @@ -1,3 +1,4 @@ +/* DO NOT EDIT! -*- buffer-read-only: t -*- vi:set ro: */ /* CPU data for mt. THIS FILE IS MACHINE GENERATED WITH CGEN. @@ -993,7 +994,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 +1208,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 :