* stabs.c (_bfd_link_section_stabs): Copy over the first header

symbol.  Check for memory allocation failure of *psinfo.
	(_bfd_write_section_stabs): Add psinfo parameter.  Change all
	callers.  Set the value of the header symbol.
	* libbfd-in.h (_bfd_write_section_stabs): Update declaration.
	* libbfd.h: Rebuild.
This commit is contained in:
Ian Lance Taylor
1997-03-25 19:46:12 +00:00
parent 3b111d29fb
commit 3cd5cf3d40
5 changed files with 584 additions and 10 deletions

View File

@@ -4545,9 +4545,9 @@ elf_link_input_bfd (finfo, input_bfd)
}
else
{
if (! _bfd_write_section_stabs (output_bfd, o,
&elf_section_data (o)->stab_info,
contents))
if (! (_bfd_write_section_stabs
(output_bfd, &elf_hash_table (finfo->info)->stab_info,
o, &elf_section_data (o)->stab_info, contents)))
return false;
}
}