ubsan: spu: left shift of negative value
[deliverable/binutils-gdb.git] / opcodes / arc-ext.h
index e92a3506eeec84b0aff95cfd29ecbd31574a1125..52fe0c2e2aa8030b8421f759709c06ba8ccd7371 100644 (file)
@@ -1,5 +1,5 @@
 /* ARC target-dependent stuff.  Extension data structures.
-   Copyright (C) 1995-2016 Free Software Foundation, Inc.
+   Copyright (C) 1995-2020 Free Software Foundation, Inc.
 
    This file is part of libopcodes.
 
 
 #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
@@ -121,9 +125,9 @@ extern void build_ARC_extmap (bfd *);
 /* Accessor functions.  */
 extern enum ExtReadWrite arcExtMap_coreReadWrite (int);
 extern const char * arcExtMap_coreRegName (int);
-extern const char * arcExtMap_auxRegName (long);
+extern const char * arcExtMap_auxRegName (unsigned);
 extern const char * arcExtMap_condCodeName (int);
-extern const extInstruction_t *arcExtMap_insn (int, int);
+extern const extInstruction_t *arcExtMap_insn (int, unsigned long long);
 extern struct arc_opcode *arcExtMap_genOpcode (const extInstruction_t *,
                                               unsigned arc_target,
                                               const char **errmsg);
@@ -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.026154 seconds and 4 git commands to generate.