mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 13:56:22 +08:00
addmore extern C
opcodes/ChangeLog: 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> * arc-ext.h: Wrap in extern C. include/ChangeLog: 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> * elf/dlx.h: Wrap in extern C. * elf/xtensa.h: Likewise. * opcode/arc.h: Likewise.
This commit is contained in:
@ -22,6 +22,10 @@
|
||||
|
||||
#include "elf/reloc-macros.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
START_RELOC_NUMBERS (elf_dlx_reloc_type)
|
||||
RELOC_NUMBER (R_DLX_NONE, 0)
|
||||
@ -50,4 +54,8 @@ START_RELOC_NUMBERS (elf_dlx_reloc_type)
|
||||
END_RELOC_NUMBERS (R_DLX_max)
|
||||
#endif /* 0 */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _ELF_DLX_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 */
|
||||
|
Reference in New Issue
Block a user