• Alan Modra's avatar
    * bfd.c (struct bfd_preserve, bfd_preserve_save, bfd_preserve_restore, · c9ba0c87
    Alan Modra authored
    	bfd_preserve_finish): Move to..
    	* format.c: ..here, splitting out..
    	(bfd_reinit): ..this.  New function.
    	(bfd_check_format_matches): Use bfd_preserve_save/restore to
    	keep bfd state for a match.
    	* elfcode.h (elf_object_p): Don't use bfd_preserve_save/restore.
    	* elfcore.h (elf_core_file_p): Likewise.
    	* mach-o.c (bfd_mach_o_header_p): Likewise.
    	* pef.c (bfd_pef_object_p, bfd_pef_xlib_object_p): Likewise.
    	* xsym.c (bfd_sym_object_p): Likewise.
    	* mmo.c (mmo_scan): Clear abfd->symcount.
    	* opncls.c (_bfd_new_bfd): Use a smaller section hash table.
    	* section.c (bfd_section_list_clear): Clear section_htab.count.
    	* bfd-in2.h: Regenerate.
    c9ba0c87
bfd-in2.h 222 KB