aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+binutils@tbsaunde.org>2016-06-03 23:11:46 -0400
committerTrevor Saunders <tbsaunde+binutils@tbsaunde.org>2016-06-22 12:59:58 -0400
commit6b4778968b298715ba78208bf047d72243961d49 (patch)
treecef486f88b7be7be7cc7d7b168d1b78c9d1ddbb2 /opcodes
parent96037eb0b8c22e0b080863362bee4a4f6fc476ed (diff)
downloadgdb-6b4778968b298715ba78208bf047d72243961d49.zip
gdb-6b4778968b298715ba78208bf047d72243961d49.tar.gz
gdb-6b4778968b298715ba78208bf047d72243961d49.tar.bz2
addmore extern C
opcodes/ChangeLog: 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> * arc-ext.h: Wrap in extern C. include/ChangeLog: 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> * elf/dlx.h: Wrap in extern C. * elf/xtensa.h: Likewise. * opcode/arc.h: Likewise.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/arc-ext.h8
2 files changed, 12 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index f3db0b2..19e0d1e 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
+
+ * arc-ext.h: Wrap in extern C.
+
2016-06-21 Graham Markall <graham.markall@embecosm.com>
* arc-dis.c (arc_insn_length): Add comment on instruction length.
diff --git a/opcodes/arc-ext.h b/opcodes/arc-ext.h
index e92a350..9e41f5b 100644
--- a/opcodes/arc-ext.h
+++ b/opcodes/arc-ext.h
@@ -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
@@ -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 */