Fix PR ld/7028, valgrind complaint for ld-elf/header

Alan Modra amodra@bigpond.net.au
Thu Nov 13 02:51:00 GMT 2008


On Thu, Nov 13, 2008 at 03:28:21AM +0100, Hans-Peter Nilsson wrote:
> 	PR ld/7028
> 	* elf.c (assign_file_positions_for_load_sections): Allocate phrds
> 	with bfd_zalloc2 instead of bfd_alloc2.  For the amount, use
> 	the possibly-preset header-size, not the computed one.

OK.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list