PR24955, libbfd terminating program on out of memory (part2)
authorAlan Modra <amodra@gmail.com>
Mon, 14 Oct 2019 03:04:30 +0000 (13:34 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 14 Oct 2019 06:17:12 +0000 (16:47 +1030)
commitec9bd0a22dd42327ae9943937a96f1e865fb5d46
treea9f88543988ee484b7db067816ae25e00b431c89
parent03f04b53b24fac848328eeafbea589d1120ccce0
PR24955, libbfd terminating program on out of memory (part2)

PR 24955
* elflink.c (elf_output_implib): Don't use xmalloc.  Don't ignore
return value of bfd_alloc2.
* peXXigen.c (_bfd_XXi_write_codeview_record): Don't use xmalloc.
* pef.c (bfd_pef_print_symbol): Likewise.  Don't ignore return
value of bfd_get_section_contents.
* som.c (som_write_space_strings): Don't use xmalloc.
(som_write_symbol_strings): Likewise.
bfd/ChangeLog
bfd/elflink.c
bfd/peXXigen.c
bfd/pef.c
bfd/som.c