diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-08-31 16:23:02 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-08-31 16:23:02 +0000 |
commit | 815179af80dc1348b0ebf6499c483b71c080ab84 (patch) | |
tree | 1cfc5481a5c9d051d1dfc77be0aa9b49ffd57091 /bfd/bfd-in2.h | |
parent | 61228e36e8de60e3941ffe44539bea369e5f48ac (diff) | |
download | gdb-815179af80dc1348b0ebf6499c483b71c080ab84.zip gdb-815179af80dc1348b0ebf6499c483b71c080ab84.tar.gz gdb-815179af80dc1348b0ebf6499c483b71c080ab84.tar.bz2 |
* bfd-in.h: Add extern "C" if __cplusplus.
* bfd-in2.h: Rebuild.
PR 7882.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r-- | bfd/bfd-in2.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index c04bd4d..9be3a4f 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -44,6 +44,10 @@ here. */ #ifndef __BFD_H_SEEN__ #define __BFD_H_SEEN__ +#ifdef __cplusplus +extern "C" { +#endif + #include "ansidecl.h" #include "obstack.h" @@ -497,7 +501,6 @@ typedef struct _bfd_link_pe_info /* END OF PE STUFF */ -extern bfd_link_pe_info pe_info; /* Cast from const char * to char * so that caller can assign to a char * without a warning. */ @@ -1419,6 +1422,7 @@ The 24-bit relocation is used in some Intel 960 configurations. */ BFD_RELOC_32_BASEREL, BFD_RELOC_16_BASEREL, BFD_RELOC_8_BASEREL, + BFD_RELOC_RVA, /* Absolute 8-bit relocation, but used to form an address like 0xFFnn. */ BFD_RELOC_8_FFnn, @@ -1629,7 +1633,6 @@ stored in the instruction. The high 24 bits are installed in bits 23 through 0. */ BFD_RELOC_ARC_B26, /* end-sanitize-arc */ - BFD_RELOC_UNUSED }; typedef enum bfd_reloc_code_real bfd_reloc_code_real_type; reloc_howto_type * @@ -2399,4 +2402,7 @@ bfd_set_format PARAMS ((bfd *abfd, bfd_format format)); CONST char * bfd_format_string PARAMS ((bfd_format format)); +#ifdef __cplusplus +} +#endif #endif |