PR24233, Out of memory

PR 24233
	* objdump.c (dump_bfd_private_header): Print warning if
	bfd_print_private_bfd_data returns false.
This commit is contained in:
Alan Modra 2019-02-20 12:06:31 +10:30
parent 6caa91b6e5
commit 7d272a55ca
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2019-02-20 Alan Modra <amodra@gmail.com>
PR 24233
* objdump.c (dump_bfd_private_header): Print warning if
bfd_print_private_bfd_data returns false.
2019-02-12 Nick Clifton <nickc@redhat.com>
PR 23440

View File

@ -3178,7 +3178,9 @@ dump_bfd_header (bfd *abfd)
static void
dump_bfd_private_header (bfd *abfd)
{
bfd_print_private_bfd_data (abfd, stdout);
if (!bfd_print_private_bfd_data (abfd, stdout))
non_fatal (_("warning: private headers incomplete: %s"),
bfd_errmsg (bfd_get_error ()));
}
static void