+2015-02-19 Pedro Alves <palves@redhat.com>
+
+ * cgen.h [__cplusplus]: Wrap in extern "C".
+ * msp430-decode.h [__cplusplus]: Likewise.
+ * nios2.h [__cplusplus]: Likewise.
+ * rl78.h [__cplusplus]: Likewise.
+ * rx.h [__cplusplus]: Likewise.
+ * tilegx.h [__cplusplus]: Likewise.
+
2015-01-28 James Bowman <james.bowman@ftdichip.com>
* ft32.h: New file.
/* ??? IWBN to replace bfd in the name. */
#include "bfd_stdint.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* ??? This file requires bfd.h but only to get bfd_vma.
Seems like an awful lot to require just to get such a fundamental type.
Perhaps the definition of bfd_vma can be moved outside of bfd.h.
/* Will an error message be generated if a signed field in an instruction overflows ? */
extern unsigned int cgen_signed_overflow_ok_p (CGEN_CPU_DESC);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* OPCODE_CGEN_H */
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
02110-1301, USA. */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef enum
{
MSO_unknown,
} MSP430_Opcode_Decoded;
int msp430_decode_opcode (unsigned long, MSP430_Opcode_Decoded *, int (*)(void *), void *);
+
+#ifdef __cplusplus
+}
+#endif
#include "bfd.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/****************************************************************************
* This file contains structures, bit masks and shift counts used
* by the GNU toolchain to define the Nios II instruction set and
extern const struct nios2_opcode *
nios2_find_opcode_hash (unsigned long, unsigned long);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _NIOS2_H */
#ifndef RL78_OPCODES_H_INCLUDED
#define RL78_OPCODES_H_INCLUDED
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* For the purposes of these structures, the RL78 registers are as
follows, despite most of these being memory-mapped and
bank-switched: */
int rl78_decode_opcode (unsigned long, RL78_Opcode_Decoded *, int (*)(void *), void *);
+#ifdef __cplusplus
+}
+#endif
+
#endif
analyzer, and the disassembler. Given an opcode data source,
it decodes the next opcode into the following structures. */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef enum
{
RX_AnySize = 0,
registers. 32..47 are condition codes. */
int rx_decode_opcode (unsigned long, RX_Opcode_Decoded *, int (*)(void *), void *);
+
+#ifdef __cplusplus
+}
+#endif
#ifndef opcode_tile_h
#define opcode_tile_h
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef unsigned long long tilegx_bundle_bits;
#define TILE_LOG2_BUNDLE_ALIGNMENT_IN_BYTES \
TILEGX_LOG2_BUNDLE_ALIGNMENT_IN_BYTES
+#ifdef __cplusplus
+}
+#endif
+
#endif /* opcode_tilegx_h */
+2015-02-19 Pedro Alves <palves@redhat.com>
+
+ * microblaze-dis.h [__cplusplus]: Wrap in extern "C".
+
2015-02-10 Pedro Alves <palves@redhat.com>
Tom Tromey <tromey@redhat.com>
#ifndef MICROBLAZE_DIS_H
#define MICROBLAZE_DIS_H 1
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern enum microblaze_instr microblaze_decode_insn (long, int *, int *,
int *, int *);
extern unsigned long microblaze_get_target_address (long, bfd_boolean, int,
enum microblaze_instr_type *,
short *);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* microblaze-dis.h */