From f47b0d4a49facbfa5c2f0971474593df0a854547 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 2 Jan 2017 23:57:58 +1030 Subject: [PATCH] Regen opcodes cgen files * epiphany-desc.h: Regenerate. * epiphany-opc.h: Regenerate. * fr30-desc.h: Regenerate. * fr30-opc.h: Regenerate. * frv-desc.h: Regenerate. * frv-opc.h: Regenerate. * ip2k-desc.h: Regenerate. * ip2k-opc.h: Regenerate. * iq2000-desc.h: Regenerate. * iq2000-opc.h: Regenerate. * lm32-desc.h: Regenerate. * lm32-opc.h: Regenerate. * m32c-desc.h: Regenerate. * m32c-opc.h: Regenerate. * m32r-desc.h: Regenerate. * m32r-opc.h: Regenerate. * mep-desc.h: Regenerate. * mep-opc.h: Regenerate. * mt-desc.h: Regenerate. * mt-opc.h: Regenerate. * or1k-desc.h: Regenerate. * or1k-opc.h: Regenerate. * xc16x-desc.h: Regenerate. * xc16x-opc.h: Regenerate. * xstormy16-desc.h: Regenerate. * xstormy16-opc.h: Regenerate. --- opcodes/ChangeLog | 29 +++++++++++++++++++++++++++++ opcodes/epiphany-desc.h | 8 ++++++++ opcodes/epiphany-opc.h | 8 ++++++++ opcodes/fr30-desc.h | 8 ++++++++ opcodes/fr30-opc.h | 8 ++++++++ opcodes/frv-desc.h | 8 ++++++++ opcodes/frv-opc.h | 8 ++++++++ opcodes/ip2k-desc.h | 8 ++++++++ opcodes/ip2k-opc.h | 8 ++++++++ opcodes/iq2000-desc.h | 8 ++++++++ opcodes/iq2000-opc.h | 8 ++++++++ opcodes/lm32-desc.h | 8 ++++++++ opcodes/lm32-opc.h | 8 ++++++++ opcodes/m32c-desc.h | 8 ++++++++ opcodes/m32c-opc.h | 8 ++++++++ opcodes/m32r-desc.h | 8 ++++++++ opcodes/m32r-opc.h | 8 ++++++++ opcodes/mep-desc.h | 8 ++++++++ opcodes/mep-opc.h | 8 ++++++++ opcodes/mt-desc.h | 8 ++++++++ opcodes/mt-opc.h | 8 ++++++++ opcodes/or1k-desc.h | 8 ++++++++ opcodes/or1k-opc.h | 8 ++++++++ opcodes/xc16x-desc.h | 8 ++++++++ opcodes/xc16x-opc.h | 8 ++++++++ opcodes/xstormy16-desc.h | 8 ++++++++ opcodes/xstormy16-opc.h | 8 ++++++++ 27 files changed, 237 insertions(+) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 6a61d61fee1..f3e70b87b0e 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,32 @@ +2017-01-02 Alan Modra + + * epiphany-desc.h: Regenerate. + * epiphany-opc.h: Regenerate. + * fr30-desc.h: Regenerate. + * fr30-opc.h: Regenerate. + * frv-desc.h: Regenerate. + * frv-opc.h: Regenerate. + * ip2k-desc.h: Regenerate. + * ip2k-opc.h: Regenerate. + * iq2000-desc.h: Regenerate. + * iq2000-opc.h: Regenerate. + * lm32-desc.h: Regenerate. + * lm32-opc.h: Regenerate. + * m32c-desc.h: Regenerate. + * m32c-opc.h: Regenerate. + * m32r-desc.h: Regenerate. + * m32r-opc.h: Regenerate. + * mep-desc.h: Regenerate. + * mep-opc.h: Regenerate. + * mt-desc.h: Regenerate. + * mt-opc.h: Regenerate. + * or1k-desc.h: Regenerate. + * or1k-opc.h: Regenerate. + * xc16x-desc.h: Regenerate. + * xc16x-opc.h: Regenerate. + * xstormy16-desc.h: Regenerate. + * xstormy16-opc.h: Regenerate. + 2017-01-02 Alan Modra Update year range in copyright notice of all files. diff --git a/opcodes/epiphany-desc.h b/opcodes/epiphany-desc.h index 1557e329e20..55334d610c4 100644 --- a/opcodes/epiphany-desc.h +++ b/opcodes/epiphany-desc.h @@ -25,6 +25,10 @@ This file is part of the GNU Binutils and/or GDB, the GNU debugger. #ifndef EPIPHANY_CPU_H #define EPIPHANY_CPU_H +#ifdef __cplusplus +extern "C" { +#endif + #define CGEN_ARCH epiphany /* Given symbol S, return epiphany_cgen_. */ @@ -399,4 +403,8 @@ extern const CGEN_HW_ENTRY epiphany_cgen_hw_table[]; + #ifdef __cplusplus + } + #endif + #endif /* EPIPHANY_CPU_H */ diff --git a/opcodes/epiphany-opc.h b/opcodes/epiphany-opc.h index c58af3e4e5d..fee80473083 100644 --- a/opcodes/epiphany-opc.h +++ b/opcodes/epiphany-opc.h @@ -25,6 +25,10 @@ This file is part of the GNU Binutils and/or GDB, the GNU debugger. #ifndef EPIPHANY_OPC_H #define EPIPHANY_OPC_H +#ifdef __cplusplus +extern "C" { +#endif + /* -- opc.h */ /* enumerate relaxation types for gas. */ @@ -223,4 +227,8 @@ struct cgen_fields } + #ifdef __cplusplus + } + #endif + #endif /* EPIPHANY_OPC_H */ diff --git a/opcodes/fr30-desc.h b/opcodes/fr30-desc.h index e1acf5c7cf6..1610643a125 100644 --- a/opcodes/fr30-desc.h +++ b/opcodes/fr30-desc.h @@ -25,6 +25,10 @@ This file is part of the GNU Binutils and/or GDB, the GNU debugger. #ifndef FR30_CPU_H #define FR30_CPU_H +#ifdef __cplusplus +extern "C" { +#endif + #define CGEN_ARCH fr30 /* Given symbol S, return fr30_cgen_. */ @@ -309,4 +313,8 @@ extern const CGEN_HW_ENTRY fr30_cgen_hw_table[]; + #ifdef __cplusplus + } + #endif + #endif /* FR30_CPU_H */ diff --git a/opcodes/fr30-opc.h b/opcodes/fr30-opc.h index c328374327d..04f3168733e 100644 --- a/opcodes/fr30-opc.h +++ b/opcodes/fr30-opc.h @@ -25,6 +25,10 @@ This file is part of the GNU Binutils and/or GDB, the GNU debugger. #ifndef FR30_OPC_H #define FR30_OPC_H +#ifdef __cplusplus +extern "C" { +#endif + /* -- opc.h */ /* ??? This can be improved upon. */ @@ -148,4 +152,8 @@ struct cgen_fields } + #ifdef __cplusplus + } + #endif + #endif /* FR30_OPC_H */ diff --git a/opcodes/frv-desc.h b/opcodes/frv-desc.h index 229b4204095..831d82f57c4 100644 --- a/opcodes/frv-desc.h +++ b/opcodes/frv-desc.h @@ -25,6 +25,10 @@ This file is part of the GNU Binutils and/or GDB, the GNU debugger. #ifndef FRV_CPU_H #define FRV_CPU_H +#ifdef __cplusplus +extern "C" { +#endif + #define CGEN_ARCH frv /* Given symbol S, return frv_cgen_. */ @@ -841,4 +845,8 @@ extern const CGEN_HW_ENTRY frv_cgen_hw_table[]; + #ifdef __cplusplus + } + #endif + #endif /* FRV_CPU_H */ diff --git a/opcodes/frv-opc.h b/opcodes/frv-opc.h index 3930200c984..dc331590fbb 100644 --- a/opcodes/frv-opc.h +++ b/opcodes/frv-opc.h @@ -25,6 +25,10 @@ This file is part of the GNU Binutils and/or GDB, the GNU debugger. #ifndef FRV_OPC_H #define FRV_OPC_H +#ifdef __cplusplus +extern "C" { +#endif + /* -- opc.h */ #undef CGEN_DIS_HASH_SIZE @@ -384,4 +388,8 @@ struct cgen_fields } + #ifdef __cplusplus + } + #endif + #endif /* FRV_OPC_H */ diff --git a/opcodes/ip2k-desc.h b/opcodes/ip2k-desc.h index a3b88155f62..62dc923d7c2 100644 --- a/opcodes/ip2k-desc.h +++ b/opcodes/ip2k-desc.h @@ -25,6 +25,10 @@ This file is part of the GNU Binutils and/or GDB, the GNU debugger. #ifndef IP2K_CPU_H #define IP2K_CPU_H +#ifdef __cplusplus +extern "C" { +#endif + #define CGEN_ARCH ip2k /* Given symbol S, return ip2k_cgen_. */ @@ -287,4 +291,8 @@ extern const CGEN_HW_ENTRY ip2k_cgen_hw_table[]; + #ifdef __cplusplus + } + #endif + #endif /* IP2K_CPU_H */ diff --git a/opcodes/ip2k-opc.h b/opcodes/ip2k-opc.h index 6f097bcf07d..4443f97a8b9 100644 --- a/opcodes/ip2k-opc.h +++ b/opcodes/ip2k-opc.h @@ -25,6 +25,10 @@ This file is part of the GNU Binutils and/or GDB, the GNU debugger. #ifndef IP2K_OPC_H #define IP2K_OPC_H +#ifdef __cplusplus +extern "C" { +#endif + /* -- opc.h */ /* Check applicability of instructions against machines. */ @@ -115,4 +119,8 @@ struct cgen_fields } + #ifdef __cplusplus + } + #endif + #endif /* IP2K_OPC_H */ diff --git a/opcodes/iq2000-desc.h b/opcodes/iq2000-desc.h index 4379fbe5667..5238651265c 100644 --- a/opcodes/iq2000-desc.h +++ b/opcodes/iq2000-desc.h @@ -25,6 +25,10 @@ This file is part of the GNU Binutils and/or GDB, the GNU debugger. #ifndef IQ2000_CPU_H #define IQ2000_CPU_H +#ifdef __cplusplus +extern "C" { +#endif + #define CGEN_ARCH iq2000 /* Given symbol S, return iq2000_cgen_. */ @@ -344,4 +348,8 @@ extern const CGEN_HW_ENTRY iq2000_cgen_hw_table[]; + #ifdef __cplusplus + } + #endif + #endif /* IQ2000_CPU_H */ diff --git a/opcodes/iq2000-opc.h b/opcodes/iq2000-opc.h index c929cd55e4e..5e2eff455de 100644 --- a/opcodes/iq2000-opc.h +++ b/opcodes/iq2000-opc.h @@ -25,6 +25,10 @@ This file is part of the GNU Binutils and/or GDB, the GNU debugger. #ifndef IQ2000_OPC_H #define IQ2000_OPC_H +#ifdef __cplusplus +extern "C" { +#endif + /* -- opc.h */ /* Allows reason codes to be output when assembler errors occur. */ @@ -178,4 +182,8 @@ struct cgen_fields } + #ifdef __cplusplus + } + #endif + #endif /* IQ2000_OPC_H */ diff --git a/opcodes/lm32-desc.h b/opcodes/lm32-desc.h index 3fa11dea003..ce2e075e056 100644 --- a/opcodes/lm32-desc.h +++ b/opcodes/lm32-desc.h @@ -25,6 +25,10 @@ This file is part of the GNU Binutils and/or GDB, the GNU debugger. #ifndef LM32_CPU_H #define LM32_CPU_H +#ifdef __cplusplus +extern "C" { +#endif + #define CGEN_ARCH lm32 /* Given symbol S, return lm32_cgen_. */ @@ -237,4 +241,8 @@ extern const CGEN_HW_ENTRY lm32_cgen_hw_table[]; + #ifdef __cplusplus + } + #endif + #endif /* LM32_CPU_H */ diff --git a/opcodes/lm32-opc.h b/opcodes/lm32-opc.h index 82b3a1ca1e9..0ae4971ba83 100644 --- a/opcodes/lm32-opc.h +++ b/opcodes/lm32-opc.h @@ -25,6 +25,10 @@ This file is part of the GNU Binutils and/or GDB, the GNU debugger. #ifndef LM32_OPC_H #define LM32_OPC_H +#ifdef __cplusplus +extern "C" { +#endif + /* -- opc.h */ /* Allows reason codes to be output when assembler errors occur. */ @@ -102,4 +106,8 @@ struct cgen_fields } + #ifdef __cplusplus + } + #endif + #endif /* LM32_OPC_H */ diff --git a/opcodes/m32c-desc.h b/opcodes/m32c-desc.h index 573336f41fd..3bfdaf6c04d 100644 --- a/opcodes/m32c-desc.h +++ b/opcodes/m32c-desc.h @@ -25,6 +25,10 @@ This file is part of the GNU Binutils and/or GDB, the GNU debugger. #ifndef M32C_CPU_H #define M32C_CPU_H +#ifdef __cplusplus +extern "C" { +#endif + #define CGEN_ARCH m32c /* Given symbol S, return m32c_cgen_. */ @@ -537,4 +541,8 @@ extern const CGEN_HW_ENTRY m32c_cgen_hw_table[]; + #ifdef __cplusplus + } + #endif + #endif /* M32C_CPU_H */ diff --git a/opcodes/m32c-opc.h b/opcodes/m32c-opc.h index 20758cd85fb..e4199524ae0 100644 --- a/opcodes/m32c-opc.h +++ b/opcodes/m32c-opc.h @@ -25,6 +25,10 @@ This file is part of the GNU Binutils and/or GDB, the GNU debugger. #ifndef M32C_OPC_H #define M32C_OPC_H +#ifdef __cplusplus +extern "C" { +#endif + /* -- opc.h */ /* Needed for RTL's 'ext' and 'trunc' operators. */ @@ -3241,4 +3245,8 @@ struct cgen_fields } + #ifdef __cplusplus + } + #endif + #endif /* M32C_OPC_H */ diff --git a/opcodes/m32r-desc.h b/opcodes/m32r-desc.h index e0a340cd974..53809e1207f 100644 --- a/opcodes/m32r-desc.h +++ b/opcodes/m32r-desc.h @@ -25,6 +25,10 @@ This file is part of the GNU Binutils and/or GDB, the GNU debugger. #ifndef M32R_CPU_H #define M32R_CPU_H +#ifdef __cplusplus +extern "C" { +#endif + #define CGEN_ARCH m32r /* Given symbol S, return m32r_cgen_. */ @@ -280,4 +284,8 @@ extern const CGEN_HW_ENTRY m32r_cgen_hw_table[]; + #ifdef __cplusplus + } + #endif + #endif /* M32R_CPU_H */ diff --git a/opcodes/m32r-opc.h b/opcodes/m32r-opc.h index 0dab5399897..5778f397ec9 100644 --- a/opcodes/m32r-opc.h +++ b/opcodes/m32r-opc.h @@ -25,6 +25,10 @@ This file is part of the GNU Binutils and/or GDB, the GNU debugger. #ifndef M32R_OPC_H #define M32R_OPC_H +#ifdef __cplusplus +extern "C" { +#endif + /* -- opc.h */ #undef CGEN_DIS_HASH_SIZE @@ -141,4 +145,8 @@ struct cgen_fields } + #ifdef __cplusplus + } + #endif + #endif /* M32R_OPC_H */ diff --git a/opcodes/mep-desc.h b/opcodes/mep-desc.h index d1eea746801..6cac0f2864d 100644 --- a/opcodes/mep-desc.h +++ b/opcodes/mep-desc.h @@ -25,6 +25,10 @@ This file is part of the GNU Binutils and/or GDB, the GNU debugger. #ifndef MEP_CPU_H #define MEP_CPU_H +#ifdef __cplusplus +extern "C" { +#endif + #define CGEN_ARCH mep /* Given symbol S, return mep_cgen_. */ @@ -374,4 +378,8 @@ extern const CGEN_HW_ENTRY mep_cgen_hw_table[]; + #ifdef __cplusplus + } + #endif + #endif /* MEP_CPU_H */ diff --git a/opcodes/mep-opc.h b/opcodes/mep-opc.h index d4a842427fd..e7a6224cb95 100644 --- a/opcodes/mep-opc.h +++ b/opcodes/mep-opc.h @@ -25,6 +25,10 @@ This file is part of the GNU Binutils and/or GDB, the GNU debugger. #ifndef MEP_OPC_H #define MEP_OPC_H +#ifdef __cplusplus +extern "C" { +#endif + /* -- opc.h */ #undef CGEN_DIS_HASH_SIZE @@ -514,4 +518,8 @@ struct cgen_fields } + #ifdef __cplusplus + } + #endif + #endif /* MEP_OPC_H */ diff --git a/opcodes/mt-desc.h b/opcodes/mt-desc.h index b6ffd30332a..071f414e79f 100644 --- a/opcodes/mt-desc.h +++ b/opcodes/mt-desc.h @@ -25,6 +25,10 @@ This file is part of the GNU Binutils and/or GDB, the GNU debugger. #ifndef MT_CPU_H #define MT_CPU_H +#ifdef __cplusplus +extern "C" { +#endif + #define CGEN_ARCH mt /* Given symbol S, return mt_cgen_. */ @@ -296,4 +300,8 @@ extern const CGEN_HW_ENTRY mt_cgen_hw_table[]; + #ifdef __cplusplus + } + #endif + #endif /* MT_CPU_H */ diff --git a/opcodes/mt-opc.h b/opcodes/mt-opc.h index 4e755edffbe..3a3ef68c86b 100644 --- a/opcodes/mt-opc.h +++ b/opcodes/mt-opc.h @@ -25,6 +25,10 @@ This file is part of the GNU Binutils and/or GDB, the GNU debugger. #ifndef MT_OPC_H #define MT_OPC_H +#ifdef __cplusplus +extern "C" { +#endif + /* -- opc.h */ /* Check applicability of instructions against machines. */ @@ -176,4 +180,8 @@ struct cgen_fields } + #ifdef __cplusplus + } + #endif + #endif /* MT_OPC_H */ diff --git a/opcodes/or1k-desc.h b/opcodes/or1k-desc.h index be7d1db637e..5d2f5cd23fe 100644 --- a/opcodes/or1k-desc.h +++ b/opcodes/or1k-desc.h @@ -25,6 +25,10 @@ This file is part of the GNU Binutils and/or GDB, the GNU debugger. #ifndef OR1K_CPU_H #define OR1K_CPU_H +#ifdef __cplusplus +extern "C" { +#endif + #define CGEN_ARCH or1k /* Given symbol S, return or1k_cgen_. */ @@ -679,4 +683,8 @@ extern const CGEN_HW_ENTRY or1k_cgen_hw_table[]; + #ifdef __cplusplus + } + #endif + #endif /* OR1K_CPU_H */ diff --git a/opcodes/or1k-opc.h b/opcodes/or1k-opc.h index 5c2117645e5..2fe5b5af794 100644 --- a/opcodes/or1k-opc.h +++ b/opcodes/or1k-opc.h @@ -25,6 +25,10 @@ This file is part of the GNU Binutils and/or GDB, the GNU debugger. #ifndef OR1K_OPC_H #define OR1K_OPC_H +#ifdef __cplusplus +extern "C" { +#endif + /* -- opc.h */ #undef CGEN_DIS_HASH_SIZE @@ -132,4 +136,8 @@ struct cgen_fields } + #ifdef __cplusplus + } + #endif + #endif /* OR1K_OPC_H */ diff --git a/opcodes/xc16x-desc.h b/opcodes/xc16x-desc.h index 3a3ce67354c..8daedfed46b 100644 --- a/opcodes/xc16x-desc.h +++ b/opcodes/xc16x-desc.h @@ -25,6 +25,10 @@ This file is part of the GNU Binutils and/or GDB, the GNU debugger. #ifndef XC16X_CPU_H #define XC16X_CPU_H +#ifdef __cplusplus +extern "C" { +#endif + #define CGEN_ARCH xc16x /* Given symbol S, return xc16x_cgen_. */ @@ -444,4 +448,8 @@ extern const CGEN_HW_ENTRY xc16x_cgen_hw_table[]; + #ifdef __cplusplus + } + #endif + #endif /* XC16X_CPU_H */ diff --git a/opcodes/xc16x-opc.h b/opcodes/xc16x-opc.h index 2dd6f2a6bda..34a716409da 100644 --- a/opcodes/xc16x-opc.h +++ b/opcodes/xc16x-opc.h @@ -25,6 +25,10 @@ This file is part of the GNU Binutils and/or GDB, the GNU debugger. #ifndef XC16X_OPC_H #define XC16X_OPC_H +#ifdef __cplusplus +extern "C" { +#endif + /* -- opc.h */ #define CGEN_DIS_HASH_SIZE 8 @@ -222,4 +226,8 @@ struct cgen_fields } + #ifdef __cplusplus + } + #endif + #endif /* XC16X_OPC_H */ diff --git a/opcodes/xstormy16-desc.h b/opcodes/xstormy16-desc.h index 6ce731d2bc4..530210e8c26 100644 --- a/opcodes/xstormy16-desc.h +++ b/opcodes/xstormy16-desc.h @@ -25,6 +25,10 @@ This file is part of the GNU Binutils and/or GDB, the GNU debugger. #ifndef XSTORMY16_CPU_H #define XSTORMY16_CPU_H +#ifdef __cplusplus +extern "C" { +#endif + #define CGEN_ARCH xstormy16 /* Given symbol S, return xstormy16_cgen_. */ @@ -326,4 +330,8 @@ extern const CGEN_HW_ENTRY xstormy16_cgen_hw_table[]; + #ifdef __cplusplus + } + #endif + #endif /* XSTORMY16_CPU_H */ diff --git a/opcodes/xstormy16-opc.h b/opcodes/xstormy16-opc.h index 20409caa69c..6e642206d5e 100644 --- a/opcodes/xstormy16-opc.h +++ b/opcodes/xstormy16-opc.h @@ -25,6 +25,10 @@ This file is part of the GNU Binutils and/or GDB, the GNU debugger. #ifndef XSTORMY16_OPC_H #define XSTORMY16_OPC_H +#ifdef __cplusplus +extern "C" { +#endif + /* -- opc.h */ /* Allows reason codes to be output when assembler errors occur. */ @@ -135,4 +139,8 @@ struct cgen_fields } + #ifdef __cplusplus + } + #endif + #endif /* XSTORMY16_OPC_H */ -- 2.30.2