Bogus p_memsz for multiple BSS segments

Andreas Schwab schwab@suse.de
Thu May 10 14:52:00 GMT 2007


Alan Modra <amodra@bigpond.net.au> writes:

> On Thu, May 10, 2007 at 11:59:51AM +0100, Richard Sandiford wrote:
>> 	* elf.c (assign_file_positions_for_load_sections): Use p_memsz
>> 	rather than p_filesz to calculate the LMA of the end of a segment.
>
> OK.  Thanks!

That also fixed PR4479.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Binutils mailing list