mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 16:05:56 +08:00
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.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
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>
|
2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
|
||||||
|
|
||||||
* opcode/tilegx.h: Move TILEGX_NUM_PIPELINE_ENCODINGS into
|
* opcode/tilegx.h: Move TILEGX_NUM_PIPELINE_ENCODINGS into
|
||||||
|
@ -22,6 +22,10 @@
|
|||||||
|
|
||||||
#include "elf/reloc-macros.h"
|
#include "elf/reloc-macros.h"
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
START_RELOC_NUMBERS (elf_dlx_reloc_type)
|
START_RELOC_NUMBERS (elf_dlx_reloc_type)
|
||||||
RELOC_NUMBER (R_DLX_NONE, 0)
|
RELOC_NUMBER (R_DLX_NONE, 0)
|
||||||
@ -50,4 +54,8 @@ START_RELOC_NUMBERS (elf_dlx_reloc_type)
|
|||||||
END_RELOC_NUMBERS (R_DLX_max)
|
END_RELOC_NUMBERS (R_DLX_max)
|
||||||
#endif /* 0 */
|
#endif /* 0 */
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* _ELF_DLX_H */
|
#endif /* _ELF_DLX_H */
|
||||||
|
@ -26,6 +26,10 @@
|
|||||||
|
|
||||||
#include "elf/reloc-macros.h"
|
#include "elf/reloc-macros.h"
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Relocations. */
|
/* Relocations. */
|
||||||
START_RELOC_NUMBERS (elf_xtensa_reloc_type)
|
START_RELOC_NUMBERS (elf_xtensa_reloc_type)
|
||||||
RELOC_NUMBER (R_XTENSA_NONE, 0)
|
RELOC_NUMBER (R_XTENSA_NONE, 0)
|
||||||
@ -205,4 +209,8 @@ typedef struct property_table_entry_t
|
|||||||
|
|
||||||
#define XTENSA_PROP_INSN_ABSLIT 0x00020000
|
#define XTENSA_PROP_INSN_ABSLIT 0x00020000
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* _ELF_XTENSA_H */
|
#endif /* _ELF_XTENSA_H */
|
||||||
|
@ -24,6 +24,10 @@
|
|||||||
#ifndef OPCODE_ARC_H
|
#ifndef OPCODE_ARC_H
|
||||||
#define OPCODE_ARC_H
|
#define OPCODE_ARC_H
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef MAX_INSN_ARGS
|
#ifndef MAX_INSN_ARGS
|
||||||
#define MAX_INSN_ARGS 16
|
#define MAX_INSN_ARGS 16
|
||||||
#endif
|
#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_u6[MAX_INSN_ARGS + 1];
|
||||||
extern const unsigned char arg_32bit_limm[MAX_INSN_ARGS + 1];
|
extern const unsigned char arg_32bit_limm[MAX_INSN_ARGS + 1];
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* OPCODE_ARC_H */
|
#endif /* OPCODE_ARC_H */
|
||||||
|
@ -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>
|
2016-06-21 Graham Markall <graham.markall@embecosm.com>
|
||||||
|
|
||||||
* arc-dis.c (arc_insn_length): Add comment on instruction length.
|
* arc-dis.c (arc_insn_length): Add comment on instruction length.
|
||||||
|
@ -41,6 +41,10 @@
|
|||||||
|
|
||||||
#include "opcode/arc.h"
|
#include "opcode/arc.h"
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#define IGNORE_FIRST_OPD 1
|
#define IGNORE_FIRST_OPD 1
|
||||||
|
|
||||||
/* Define this if we do not want to encode instructions based on the
|
/* 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). */
|
/* Dump function (for debugging). */
|
||||||
extern void dump_ARC_extmap (void);
|
extern void dump_ARC_extmap (void);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* ARC_EXTENSIONS_H */
|
#endif /* ARC_EXTENSIONS_H */
|
||||||
|
Reference in New Issue
Block a user