OSDN Git Service

PR binutils/10785
authorAlan Modra <amodra@bigpond.net.au>
Fri, 16 Oct 2009 07:14:42 +0000 (07:14 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Fri, 16 Oct 2009 07:14:42 +0000 (07:14 +0000)
commit33128827937dafd906bb3cc00f719406494d975c
tree65aa557a7563a3af64f257e3d3299be1456e63a8
parent7040659f0918ef776e14b2fac307dab8bcc072d9
PR binutils/10785
* coff-alpha.c (alpha_ecoff_get_elt_at_filepos): Don't bfd_alloc
bim and bim->buffer.  bfd_malloc instead.
* peicode.h (pe_ILF_build_a_bfd): Similarly.
(ILF_DATA_SIZE): Don't include bim.
* opncls.c (bfd_close): Test bim->buffer non-NULL before freeing.
bfd/ChangeLog
bfd/coff-alpha.c
bfd/opncls.c
bfd/peicode.h