aboutsummaryrefslogtreecommitdiff
path: root/opcodes/frv-desc.c
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/frv-desc.c')
-rw-r--r--opcodes/frv-desc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/opcodes/frv-desc.c b/opcodes/frv-desc.c
index bba510c..8f63cb1 100644
--- a/opcodes/frv-desc.c
+++ b/opcodes/frv-desc.c
@@ -6386,6 +6386,7 @@ frv_cgen_cpu_open (enum cgen_cpu_open_arg arg_type, ...)
const char *name = va_arg (ap, const char *);
const CGEN_MACH *mach =
lookup_mach_via_bfd_name (frv_cgen_mach_table, name);
+
if (mach != NULL)
machs |= 1 << mach->num;
break;