From 4274208406762da7af6dd697f44d8e6895061530 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 13 Apr 2017 10:33:53 +0930 Subject: [PATCH] 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/ChangeLog | 16 ++++++++++++++++ opcodes/epiphany-desc.c | 5 +++-- opcodes/fr30-desc.c | 5 +++-- opcodes/frv-desc.c | 1 + opcodes/ip2k-desc.c | 5 +++-- opcodes/iq2000-desc.c | 5 +++-- opcodes/lm32-desc.c | 5 +++-- opcodes/m32c-desc.c | 5 +++-- opcodes/m32r-desc.c | 5 +++-- opcodes/mep-desc.c | 5 +++-- opcodes/mt-desc.c | 5 +++-- opcodes/or1k-desc.c | 5 +++-- opcodes/xc16x-desc.c | 5 +++-- opcodes/xstormy16-desc.c | 5 +++-- 14 files changed, 53 insertions(+), 24 deletions(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 1a156717a9..63afa0ef50 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,19 @@ +2017-04-13 Alan Modra + + * 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. + 2017-04-11 Alan Modra * ppc-dis.c (ppc_opts): Remove PPC_OPCODE_ALTIVEC2, diff --git a/opcodes/epiphany-desc.c b/opcodes/epiphany-desc.c index 1b15e01ed9..babe8d1941 100644 --- a/opcodes/epiphany-desc.c +++ b/opcodes/epiphany-desc.c @@ -1956,7 +1956,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 +2170,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 : diff --git a/opcodes/fr30-desc.c b/opcodes/fr30-desc.c index 62b8c8cac7..6c013d9fad 100644 --- a/opcodes/fr30-desc.c +++ b/opcodes/fr30-desc.c @@ -1433,7 +1433,7 @@ lookup_mach_via_bfd_name (const CGEN_MACH *table, const char *name) return table; ++table; } - abort (); + return NULL; } /* Subroutine of fr30_cgen_cpu_open to build the hardware table. */ @@ -1647,7 +1647,8 @@ fr30_cgen_cpu_open (enum cgen_cpu_open_arg arg_type, ...) const CGEN_MACH *mach = lookup_mach_via_bfd_name (fr30_cgen_mach_table, name); - machs |= 1 << mach->num; + if (mach != NULL) + machs |= 1 << mach->num; break; } case CGEN_CPU_OPEN_ENDIAN : diff --git a/opcodes/frv-desc.c b/opcodes/frv-desc.c index bba510c6e2..8f63cb1fb2 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; diff --git a/opcodes/ip2k-desc.c b/opcodes/ip2k-desc.c index 1f45fa0b46..75f236384e 100644 --- a/opcodes/ip2k-desc.c +++ b/opcodes/ip2k-desc.c @@ -862,7 +862,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 +1076,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 : diff --git a/opcodes/iq2000-desc.c b/opcodes/iq2000-desc.c index aa52405e71..5921c055a8 100644 --- a/opcodes/iq2000-desc.c +++ b/opcodes/iq2000-desc.c @@ -1867,7 +1867,7 @@ lookup_mach_via_bfd_name (const CGEN_MACH *table, const char *name) return table; ++table; } - abort (); + return NULL; } /* Subroutine of iq2000_cgen_cpu_open to build the hardware table. */ @@ -2081,7 +2081,8 @@ iq2000_cgen_cpu_open (enum cgen_cpu_open_arg arg_type, ...) const CGEN_MACH *mach = lookup_mach_via_bfd_name (iq2000_cgen_mach_table, name); - machs |= 1 << mach->num; + if (mach != NULL) + machs |= 1 << mach->num; break; } case CGEN_CPU_OPEN_ENDIAN : diff --git a/opcodes/lm32-desc.c b/opcodes/lm32-desc.c index 0a64e0aec2..1b3e5651f6 100644 --- a/opcodes/lm32-desc.c +++ b/opcodes/lm32-desc.c @@ -849,7 +849,7 @@ lookup_mach_via_bfd_name (const CGEN_MACH *table, const char *name) return table; ++table; } - abort (); + return NULL; } /* Subroutine of lm32_cgen_cpu_open to build the hardware table. */ @@ -1063,7 +1063,8 @@ lm32_cgen_cpu_open (enum cgen_cpu_open_arg arg_type, ...) const CGEN_MACH *mach = lookup_mach_via_bfd_name (lm32_cgen_mach_table, name); - machs |= 1 << mach->num; + if (mach != NULL) + machs |= 1 << mach->num; break; } case CGEN_CPU_OPEN_ENDIAN : diff --git a/opcodes/m32c-desc.c b/opcodes/m32c-desc.c index 596f2c164c..54e2912d5d 100644 --- a/opcodes/m32c-desc.c +++ b/opcodes/m32c-desc.c @@ -62880,7 +62880,7 @@ lookup_mach_via_bfd_name (const CGEN_MACH *table, const char *name) return table; ++table; } - abort (); + return NULL; } /* Subroutine of m32c_cgen_cpu_open to build the hardware table. */ @@ -63094,7 +63094,8 @@ m32c_cgen_cpu_open (enum cgen_cpu_open_arg arg_type, ...) const CGEN_MACH *mach = lookup_mach_via_bfd_name (m32c_cgen_mach_table, name); - machs |= 1 << mach->num; + if (mach != NULL) + machs |= 1 << mach->num; break; } case CGEN_CPU_OPEN_ENDIAN : diff --git a/opcodes/m32r-desc.c b/opcodes/m32r-desc.c index eb5ed36a7f..7b92d67b8a 100644 --- a/opcodes/m32r-desc.c +++ b/opcodes/m32r-desc.c @@ -1212,7 +1212,7 @@ lookup_mach_via_bfd_name (const CGEN_MACH *table, const char *name) return table; ++table; } - abort (); + return NULL; } /* Subroutine of m32r_cgen_cpu_open to build the hardware table. */ @@ -1426,7 +1426,8 @@ m32r_cgen_cpu_open (enum cgen_cpu_open_arg arg_type, ...) const CGEN_MACH *mach = lookup_mach_via_bfd_name (m32r_cgen_mach_table, name); - machs |= 1 << mach->num; + if (mach != NULL) + machs |= 1 << mach->num; break; } case CGEN_CPU_OPEN_ENDIAN : diff --git a/opcodes/mep-desc.c b/opcodes/mep-desc.c index 4077a735b1..680daed347 100644 --- a/opcodes/mep-desc.c +++ b/opcodes/mep-desc.c @@ -6073,7 +6073,7 @@ lookup_mach_via_bfd_name (const CGEN_MACH *table, const char *name) return table; ++table; } - abort (); + return NULL; } /* Subroutine of mep_cgen_cpu_open to build the hardware table. */ @@ -6287,7 +6287,8 @@ mep_cgen_cpu_open (enum cgen_cpu_open_arg arg_type, ...) const CGEN_MACH *mach = lookup_mach_via_bfd_name (mep_cgen_mach_table, name); - machs |= 1 << mach->num; + if (mach != NULL) + machs |= 1 << mach->num; break; } case CGEN_CPU_OPEN_ENDIAN : diff --git a/opcodes/mt-desc.c b/opcodes/mt-desc.c index 1a3441adfc..24e2af02f5 100644 --- a/opcodes/mt-desc.c +++ b/opcodes/mt-desc.c @@ -993,7 +993,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 +1207,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 : diff --git a/opcodes/or1k-desc.c b/opcodes/or1k-desc.c index 3a9fdb73dd..003beb7bd7 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 : diff --git a/opcodes/xc16x-desc.c b/opcodes/xc16x-desc.c index 6074ad52d9..4df96209e5 100644 --- a/opcodes/xc16x-desc.c +++ b/opcodes/xc16x-desc.c @@ -3196,7 +3196,7 @@ lookup_mach_via_bfd_name (const CGEN_MACH *table, const char *name) return table; ++table; } - abort (); + return NULL; } /* Subroutine of xc16x_cgen_cpu_open to build the hardware table. */ @@ -3410,7 +3410,8 @@ xc16x_cgen_cpu_open (enum cgen_cpu_open_arg arg_type, ...) const CGEN_MACH *mach = lookup_mach_via_bfd_name (xc16x_cgen_mach_table, name); - machs |= 1 << mach->num; + if (mach != NULL) + machs |= 1 << mach->num; break; } case CGEN_CPU_OPEN_ENDIAN : diff --git a/opcodes/xstormy16-desc.c b/opcodes/xstormy16-desc.c index 7226493419..76b8f078b3 100644 --- a/opcodes/xstormy16-desc.c +++ b/opcodes/xstormy16-desc.c @@ -1164,7 +1164,7 @@ lookup_mach_via_bfd_name (const CGEN_MACH *table, const char *name) return table; ++table; } - abort (); + return NULL; } /* Subroutine of xstormy16_cgen_cpu_open to build the hardware table. */ @@ -1378,7 +1378,8 @@ xstormy16_cgen_cpu_open (enum cgen_cpu_open_arg arg_type, ...) const CGEN_MACH *mach = lookup_mach_via_bfd_name (xstormy16_cgen_mach_table, name); - machs |= 1 << mach->num; + if (mach != NULL) + machs |= 1 << mach->num; break; } case CGEN_CPU_OPEN_ENDIAN : -- 2.34.1