X86: Allow additional ISAs for IAMCU in assembler
[deliverable/binutils-gdb.git] / opcodes / arc-ext.h
index fcce7e2bd4ea1c81ba52fa4bb5f4bdbf9a7b38ee..9e41f5bb96d2bb643a7beebf21a6206874b32aa9 100644 (file)
 
 #include "opcode/arc.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #define IGNORE_FIRST_OPD 1
 
 /* Define this if we do not want to encode instructions based on the
@@ -80,7 +84,7 @@ enum ExtReadWrite
     (OP)->opcode = CODE;                               \
     (OP)->mask   = MASK;                               \
     (OP)->cpu    = CPU;                                        \
-    (OP)->class  = ARITH;                              \
+    (OP)->insn_class  = ARITH;                         \
     (OP)->subclass = NONE;                             \
     memcpy ((OP)->operands, (ARG), MAX_INSN_ARGS);     \
     memcpy ((OP)->flags, (FLG), MAX_INSN_FLGS);                \
@@ -131,4 +135,8 @@ extern struct arc_opcode *arcExtMap_genOpcode (const extInstruction_t *,
 /* Dump function (for debugging).  */
 extern void dump_ARC_extmap (void);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* ARC_EXTENSIONS_H */
This page took 0.023664 seconds and 4 git commands to generate.