From 1fe0971e41a4097610862acabf54a896695fe834 Mon Sep 17 00:00:00 2001 From: Trevor Saunders Date: Sun, 29 May 2016 04:29:22 -0400 Subject: add more extern C opcodes/ChangeLog: 2016-06-01 Trevor Saunders * nds32-asm.h: Add extern "C". * sh-opc.h: Likewise. bfd/ChangeLog: 2016-06-01 Trevor Saunders * elf32-hppa.h: Add extern "C". * elf32-nds32.h: Likewise. * elf32-tic6x.h: Likewise. include/ChangeLog: 2016-06-01 Trevor Saunders * elf/mips.h: Likewise. * elf/sh.h: Likewise. * opcode/d10v.h: Likewise. * opcode/d30v.h: Likewise. * opcode/ia64.h: Likewise. * opcode/mips.h: Likewise. * opcode/ppc.h: Likewise. * opcode/sparc.h: Likewise. * opcode/tic6x.h: Likewise. * opcode/v850.h: Likewise. --- opcodes/nds32-asm.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'opcodes/nds32-asm.h') diff --git a/opcodes/nds32-asm.h b/opcodes/nds32-asm.h index f273f2f..a39a50a 100644 --- a/opcodes/nds32-asm.h +++ b/opcodes/nds32-asm.h @@ -23,6 +23,10 @@ #ifndef NDS32_ASM_H #define NDS32_ASM_H +#ifdef __cplusplus +extern "C" { +#endif + /* Constant values for assembler. */ enum { @@ -294,4 +298,8 @@ extern void nds32_asm_init (nds32_asm_desc_t *, int); #define FPU_MEMBI(sub) (OP6 (COP) | N32_FPU_ ## sub | 0x1 << 7) #define AUDIO(sub) (OP6 (AEXT) | (N32_AEXT_ ## sub << 20)) +#ifdef __cplusplus +} +#endif + #endif -- cgit v1.1