From: Steve Chamberlain Date: Tue, 28 Jan 1992 06:02:01 +0000 (+0000) Subject: * bfd.h : new target entr, bfd_relax_section X-Git-Tag: gdb-4_18~22526 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=daa91756f11404bc87d38eb1e1a6bc9435e0326a;p=platform%2Fupstream%2Fbinutils.git * bfd.h : new target entr, bfd_relax_section --- diff --git a/include/bfd.h b/include/bfd.h index ce6c446..de782cf 100644 --- a/include/bfd.h +++ b/include/bfd.h @@ -235,7 +235,7 @@ typedef enum bfd_print_symbol bfd_print_symbol_name, bfd_print_symbol_more, bfd_print_symbol_all, - bfd_print_symbol_nm /* Pretty format suitable for nm program. */ + bfd_print_symbol_nm, /* Pretty format suitable for nm program. */ } bfd_print_symbol_type; @@ -281,7 +281,8 @@ CAT(NAME,_sizeof_headers),\ CAT(NAME,_bfd_debug_info_start),\ CAT(NAME,_bfd_debug_info_end),\ CAT(NAME,_bfd_debug_info_accumulate),\ -CAT(NAME,_bfd_get_relocated_section_contents) +CAT(NAME,_bfd_get_relocated_section_contents),\ +CAT(NAME,_bfd_relax_section) #define COFF_SWAP_TABLE \ coff_swap_aux_in, coff_swap_sym_in, coff_swap_lineno_in, \ @@ -1178,6 +1179,9 @@ long EXFUN(bfd_get_mtime, (bfd *)); #define bfd_get_relocated_section_contents(abfd, seclet) \ BFD_SEND (abfd, _bfd_get_relocated_section_contents, (abfd, seclet)) + +#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)); boolean EXFUN(bfd_set_archive_head, (bfd *output, bfd *new_head)); bfd *EXFUN(bfd_get_elt_at_index, (bfd * archive, int index)); @@ -1272,6 +1276,7 @@ typedef struct bfd_target 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 (boolean,_bfd_relax_section,(bfd *, struct sec *, struct symbol_cache_entry **)); SDEF(void, _bfd_coff_swap_aux_in,( bfd *abfd , PTR ext,