OSDN Git Service

PR binutils/10785
authoramodra <amodra>
Fri, 16 Oct 2009 07:14:42 +0000 (07:14 +0000)
committeramodra <amodra>
Fri, 16 Oct 2009 07:14:42 +0000 (07:14 +0000)
commit329eb49cd655a4285bee5d76c185dd7482c2aa04
treec41d94aa291831d0ec7f7e3b8dfd07e9a49fc2f2
parent33a0985e91ca2bbe32a5410552e929ac4c077175
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