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)
commitaf1461c41e2460f3675d7323a05c4e06bcab5cb5
treebe932ff635ddb9399873471cff41922ad4ca15ac
parent6b10303bd067ea6c4e07928cd6918a154c4dd0bb
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