diff options
author | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-06-03 23:11:46 -0400 |
---|---|---|
committer | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-06-22 12:59:58 -0400 |
commit | 6b4778968b298715ba78208bf047d72243961d49 (patch) | |
tree | cef486f88b7be7be7cc7d7b168d1b78c9d1ddbb2 /include | |
parent | 96037eb0b8c22e0b080863362bee4a4f6fc476ed (diff) | |
download | gdb-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 'include')
-rw-r--r-- | include/ChangeLog | 6 | ||||
-rw-r--r-- | include/elf/dlx.h | 8 | ||||
-rw-r--r-- | include/elf/xtensa.h | 8 | ||||
-rw-r--r-- | include/opcode/arc.h | 8 |
4 files changed, 30 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 58f279f..72101bc 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,5 +1,11 @@ 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> + * elf/dlx.h: Wrap in extern C. + * elf/xtensa.h: Likewise. + * opcode/arc.h: Likewise. + +2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> + * opcode/tilegx.h: Move TILEGX_NUM_PIPELINE_ENCODINGS into tilegx_pipeline. diff --git a/include/elf/dlx.h b/include/elf/dlx.h index f179d8c..8165951 100644 --- a/include/elf/dlx.h +++ b/include/elf/dlx.h @@ -22,6 +22,10 @@ #include "elf/reloc-macros.h" +#ifdef __cplusplus +extern "C" { +#endif + #if 0 START_RELOC_NUMBERS (elf_dlx_reloc_type) RELOC_NUMBER (R_DLX_NONE, 0) @@ -50,4 +54,8 @@ START_RELOC_NUMBERS (elf_dlx_reloc_type) END_RELOC_NUMBERS (R_DLX_max) #endif /* 0 */ +#ifdef __cplusplus + } +#endif + #endif /* _ELF_DLX_H */ diff --git a/include/elf/xtensa.h b/include/elf/xtensa.h index cd3ed44..ca178f5 100644 --- a/include/elf/xtensa.h +++ b/include/elf/xtensa.h @@ -26,6 +26,10 @@ #include "elf/reloc-macros.h" +#ifdef __cplusplus +extern "C" { +#endif + /* Relocations. */ START_RELOC_NUMBERS (elf_xtensa_reloc_type) RELOC_NUMBER (R_XTENSA_NONE, 0) @@ -205,4 +209,8 @@ typedef struct property_table_entry_t #define XTENSA_PROP_INSN_ABSLIT 0x00020000 +#ifdef __cplusplus +} +#endif + #endif /* _ELF_XTENSA_H */ diff --git a/include/opcode/arc.h b/include/opcode/arc.h index f8f1955..df89e3c 100644 --- a/include/opcode/arc.h +++ b/include/opcode/arc.h @@ -24,6 +24,10 @@ #ifndef OPCODE_ARC_H #define OPCODE_ARC_H +#ifdef __cplusplus +extern "C" { +#endif + #ifndef MAX_INSN_ARGS #define MAX_INSN_ARGS 16 #endif @@ -604,4 +608,8 @@ extern const unsigned char arg_32bit_rc[MAX_INSN_ARGS + 1]; extern const unsigned char arg_32bit_u6[MAX_INSN_ARGS + 1]; extern const unsigned char arg_32bit_limm[MAX_INSN_ARGS + 1]; +#ifdef __cplusplus +} +#endif + #endif /* OPCODE_ARC_H */ |