* section.c (_bfd_strip_section_from_output): Add info parameter.

If it passed as non-NULL, use it to check whether any input BFD
	has an input section which uses this output section.  Change all
	callers.
	* bfd-in2.h: Rebuild.

	* bfd-in.h: Move declarations of bfd_get_elf_phdr_upper_bound and
	bfd_get_elf_phdrs in from bfd-in2.h, correcting patch of
	1999-11-29.
	* bfd-in2.h: Rebuild.
This commit is contained in:
Ian Lance Taylor
2000-02-13 22:45:29 +00:00
parent e3c976c4eb
commit 7f8d5fc90b
12 changed files with 91 additions and 38 deletions

View File

@@ -7920,7 +7920,7 @@ _bfd_mips_elf_size_dynamic_sections (output_bfd, info)
if (strip)
{
_bfd_strip_section_from_output (s);
_bfd_strip_section_from_output (info, s);
continue;
}