aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-nds32.h
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elf32-nds32.h')
-rw-r--r--bfd/elf32-nds32.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/bfd/elf32-nds32.h b/bfd/elf32-nds32.h
index c28617f..8227827 100644
--- a/bfd/elf32-nds32.h
+++ b/bfd/elf32-nds32.h
@@ -22,6 +22,10 @@
#ifndef ELF32_NDS32_H
#define ELF32_NDS32_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Relocation flags encoded in r_addend. */
/* Relocation flags for R_NDS32_ERLAX_ENTRY. */
@@ -152,4 +156,9 @@ struct elf_nds32_link_hash_table
bfd_boolean ex9_loop_aware; /* Ignore ex9 if inside a loop. */
bfd_boolean ifc_loop_aware; /* Ignore ifc if inside a loop. */
};
+
+#ifdef __cplusplus
+}
+#endif
+
#endif