From 4274208406762da7af6dd697f44d8e6895061530 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 13 Apr 2017 10:33:53 +0930 Subject: Regen cgen files * epiphany-desc.c: Regenerate. * fr30-desc.c: Regenerate. * frv-desc.c: Regenerate. * ip2k-desc.c: Regenerate. * iq2000-desc.c: Regenerate. * lm32-desc.c: Regenerate. * m32c-desc.c: Regenerate. * m32r-desc.c: Regenerate. * mep-desc.c: Regenerate. * mt-desc.c: Regenerate. * or1k-desc.c: Regenerate. * xc16x-desc.c: Regenerate. * xstormy16-desc.c: Regenerate. --- opcodes/or1k-desc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'opcodes/or1k-desc.c') diff --git a/opcodes/or1k-desc.c b/opcodes/or1k-desc.c index 3a9fdb7..003beb7 100644 --- a/opcodes/or1k-desc.c +++ b/opcodes/or1k-desc.c @@ -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 : -- cgit v1.1