This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Regen opcodes cgen files


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f47b0d4a49facbfa5c2f0971474593df0a854547

commit f47b0d4a49facbfa5c2f0971474593df0a854547
Author: Alan Modra <amodra@gmail.com>
Date:   Mon Jan 2 23:57:58 2017 +1030

    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.

Diff:
---
 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 6a61d61..f3e70b8 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,5 +1,34 @@
 2017-01-02  Alan Modra  <amodra@gmail.com>
 
+	* 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  <amodra@gmail.com>
+
 	Update year range in copyright notice of all files.
 
 For older changes see ChangeLog-2016
diff --git a/opcodes/epiphany-desc.h b/opcodes/epiphany-desc.h
index 1557e32..55334d6 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_<S>.  */
@@ -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 c58af3e..fee8047 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 e1acf5c..1610643 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_<S>.  */
@@ -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 c328374..04f3168 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 229b420..831d82f 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_<S>.  */
@@ -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 3930200..dc33159 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 a3b8815..62dc923 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_<S>.  */
@@ -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 6f097bc..4443f97 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 4379fbe..5238651 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_<S>.  */
@@ -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 c929cd5..5e2eff4 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 3fa11de..ce2e075 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_<S>.  */
@@ -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 82b3a1c..0ae4971 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 573336f..3bfdaf6 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_<S>.  */
@@ -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 20758cd..e419952 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 e0a340c..53809e1 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_<S>.  */
@@ -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 0dab539..5778f39 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 d1eea74..6cac0f2 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_<S>.  */
@@ -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 d4a8424..e7a6224 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 b6ffd30..071f414 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_<S>.  */
@@ -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 4e755ed..3a3ef68 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 be7d1db..5d2f5cd 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_<S>.  */
@@ -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 5c21176..2fe5b5a 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 3a3ce67..8daedfe 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_<S>.  */
@@ -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 2dd6f2a..34a7164 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 6ce731d..530210e 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_<S>.  */
@@ -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 20409ca..6e64220 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 */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]