forked from Imagelibrary/binutils-gdb
* 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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user