aboutsummaryrefslogtreecommitdiff
path: root/include/elf/xtensa.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/elf/xtensa.h')
-rw-r--r--include/elf/xtensa.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/elf/xtensa.h b/include/elf/xtensa.h
index cd3ed44..ca178f5 100644
--- a/include/elf/xtensa.h
+++ b/include/elf/xtensa.h
@@ -26,6 +26,10 @@
#include "elf/reloc-macros.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Relocations. */
START_RELOC_NUMBERS (elf_xtensa_reloc_type)
RELOC_NUMBER (R_XTENSA_NONE, 0)
@@ -205,4 +209,8 @@ typedef struct property_table_entry_t
#define XTENSA_PROP_INSN_ABSLIT 0x00020000
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _ELF_XTENSA_H */