aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1992-05-05 00:14:35 +0000
committerSteve Chamberlain <sac@cygnus>1992-05-05 00:14:35 +0000
commit2d690b0abc7cfab4924ab7546deec7a2f21ca36c (patch)
tree155a59eaa3c6ba771061205134351df378febaab
parent2cfd05621b47ac1b59e751533289e255b85e2ae5 (diff)
downloadgdb-2d690b0abc7cfab4924ab7546deec7a2f21ca36c.zip
gdb-2d690b0abc7cfab4924ab7546deec7a2f21ca36c.tar.gz
gdb-2d690b0abc7cfab4924ab7546deec7a2f21ca36c.tar.bz2
* bfd.h: new get_relocated_section_contents decl
-rw-r--r--include/bfd.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/include/bfd.h b/include/bfd.h
index 132e359..34feb6b 100644
--- a/include/bfd.h
+++ b/include/bfd.h
@@ -52,7 +52,7 @@ here. */
# endif
#endif
-#define BFD_VERSION "0.18"
+#define BFD_VERSION "1.96"
/* forward declaration */
typedef struct _bfd bfd;
@@ -794,7 +794,8 @@ typedef CONST struct reloc_howto_struct
arelent *reloc_entry,
struct symbol_cache_entry *symbol,
PTR data,
- asection *input_section));
+ asection *input_section,
+ bfd *output_bfd ));
/* The textual name of the relocation type. */
char *name;
@@ -1107,7 +1108,7 @@ struct _bfd
struct ieee_data_struct *ieee_data;
struct ieee_ar_data_struct *ieee_ar_data;
struct srec_data_struct *srec_data;
- struct tekhex_data_struct *tekhex_data;
+ struct srec_data_struct *tekhex_data;
struct elf_obj_tdata_struct *elf_obj_data;
struct elf_core_tdata_struct *elf_core_data;
struct bout_data_struct *bout_data;
@@ -1189,9 +1190,9 @@ long EXFUN(bfd_get_mtime, (bfd *));
#define bfd_coff_swap_aouthdr_out(abfd, i,o) \
BFD_SEND (abfd, _bfd_coff_swap_aouthdr_out, (abfd, i, o))
-#define bfd_get_relocated_section_contents(abfd, seclet) \
- BFD_SEND (abfd, _bfd_get_relocated_section_contents, (abfd, seclet))
-
+#define bfd_get_relocated_section_contents(abfd, seclet, data) \
+ BFD_SEND (abfd, _bfd_get_relocated_section_contents, (abfd, seclet, data))
+
#define bfd_relax_section(abfd, section, symbols) \
BFD_SEND (abfd, _bfd_relax_section, (abfd, section, symbols))
symindex EXFUN(bfd_get_next_mapent, (bfd *, symindex previous, carsym ** sym));
@@ -1288,7 +1289,7 @@ typedef struct bfd_target
SDEF (void, _bfd_debug_info_start, (bfd *));
SDEF (void, _bfd_debug_info_end, (bfd *));
SDEF (void, _bfd_debug_info_accumulate, (bfd *, struct sec *));
- SDEF (bfd_byte *, _bfd_get_relocated_section_contents, (bfd*,struct bfd_seclet_struct *));
+ SDEF (bfd_byte *, _bfd_get_relocated_section_contents, (bfd*,struct bfd_seclet_struct *, bfd_byte *data));
SDEF (boolean,_bfd_relax_section,(bfd *, struct sec *, struct symbol_cache_entry **));
SDEF(void, _bfd_coff_swap_aux_in,(
bfd *abfd ,