opcodes: support insn endianness in cgen_cpu_open
[deliverable/binutils-gdb.git] / include / opcode / d30v.h
index 62c041da967b13ebd0a2ec971bc3522196fdf8b1..4ba2c45c84dc544a299f825519cacad298277c68 100644 (file)
@@ -1,6 +1,5 @@
 /* d30v.h -- Header file for D30V opcode table
-   Copyright 1997, 1998, 1999, 2000, 2001, 2003, 2010
-   Free Software Foundation, Inc.
+   Copyright (C) 1997-2020 Free Software Foundation, Inc.
    Written by Martin Hunt (hunt@cygnus.com), Cygnus Solutions
 
    This file is part of GDB, GAS, and the GNU binutils.
 #ifndef D30V_H
 #define D30V_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #define NOP 0x00F00000
 
 /* Structure to hold information about predefined registers.  */
@@ -30,7 +33,7 @@ struct pd_reg
 {
   char *name;          /* name to recognize */
   char *pname;         /* name to print for this register */
-  int value;
+  unsigned int value;
 };
 
 extern const struct pd_reg pre_defined_registers[];
@@ -285,4 +288,8 @@ struct d30v_insn
 /* by setting high bits to indicate type */
 #define REGISTER_MASK  0xFF
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* D30V_H */
This page took 0.027092 seconds and 4 git commands to generate.