diff options
author | Ian Lance Taylor <ian@airs.com> | 1997-03-25 19:46:12 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1997-03-25 19:46:12 +0000 |
commit | 3cd5cf3d40d837d6b42c31f488a36b56e01b2a2a (patch) | |
tree | 1754d6bc9f24a884af24d905ad38f0433b0f626c /bfd/elflink.h | |
parent | 3b111d29fb0640e34c4db9ec3999717b04674c89 (diff) | |
download | gdb-3cd5cf3d40d837d6b42c31f488a36b56e01b2a2a.zip gdb-3cd5cf3d40d837d6b42c31f488a36b56e01b2a2a.tar.gz gdb-3cd5cf3d40d837d6b42c31f488a36b56e01b2a2a.tar.bz2 |
* 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.
Diffstat (limited to 'bfd/elflink.h')
-rw-r--r-- | bfd/elflink.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/elflink.h b/bfd/elflink.h index 6207595..dcb1a8b 100644 --- a/bfd/elflink.h +++ b/bfd/elflink.h @@ -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; } } |