X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=opcodes%2Farc-ext.h;h=ec8978ffe27c959bdf68ddefa76bbea23dccff90;hb=0f6d864de2469af4223391993b430b0d45573dcb;hp=e92a3506eeec84b0aff95cfd29ecbd31574a1125;hpb=c810e0b87a2084656af944fe269d8c2680ba5469;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/arc-ext.h b/opcodes/arc-ext.h index e92a3506ee..ec8978ffe2 100644 --- a/opcodes/arc-ext.h +++ b/opcodes/arc-ext.h @@ -1,5 +1,5 @@ /* ARC target-dependent stuff. Extension data structures. - Copyright (C) 1995-2016 Free Software Foundation, Inc. + Copyright (C) 1995-2017 Free Software Foundation, Inc. This file is part of libopcodes. @@ -41,6 +41,10 @@ #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 @@ -123,7 +127,7 @@ extern enum ExtReadWrite arcExtMap_coreReadWrite (int); extern const char * arcExtMap_coreRegName (int); extern const char * arcExtMap_auxRegName (long); 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 */