From: Steve Chamberlain Date: Tue, 5 May 1992 00:14:35 +0000 (+0000) Subject: * bfd.h: new get_relocated_section_contents decl X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2d690b0abc7cfab4924ab7546deec7a2f21ca36c;p=binutils-gdb.git * bfd.h: new get_relocated_section_contents decl --- diff --git a/include/bfd.h b/include/bfd.h index 132e3599794..34feb6b066f 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 ,