X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=opcodes%2Fnds32-asm.h;h=e5d5554955a2383f83942c8335891f16761c542f;hb=cd85e51ad3921eabd7030974ce375123a0848cce;hp=5d6a32e20532a19401ed1991ab0a35e9f0967111;hpb=b90efa5b79ac1524ec260f8eb89d1be37e0219a7;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/nds32-asm.h b/opcodes/nds32-asm.h index 5d6a32e205..e5d5554955 100644 --- a/opcodes/nds32-asm.h +++ b/opcodes/nds32-asm.h @@ -1,5 +1,5 @@ /* NDS32-specific support for 32-bit ELF. - Copyright (C) 2012-2015 Free Software Foundation, Inc. + Copyright (C) 2012-2017 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of BFD, the Binary File Descriptor library. @@ -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