aarch64: Add support for +mops
[binutils-gdb.git] / include / opcode / d30v.h
index 48aa1f175e59b862242932a5cf265076cbc3138b..c76f1384f9a70c18668b404f09eab9fdf4d5c02f 100644 (file)
@@ -1,5 +1,5 @@
 /* d30v.h -- Header file for D30V opcode table
-   Copyright (C) 1997-2016 Free Software Foundation, Inc.
+   Copyright (C) 1997-2021 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.  */
@@ -29,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[];
@@ -284,4 +288,8 @@ struct d30v_insn
 /* by setting high bits to indicate type */
 #define REGISTER_MASK  0xFF
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* D30V_H */