This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Bogus p_memsz for multiple BSS segments
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: binutils at sourceware dot org, richard at codesourcery dot com
- Date: Fri, 11 May 2007 00:11:30 +0930
- Subject: Re: Bogus p_memsz for multiple BSS segments
- References: <871whpc5aw.fsf@firetop.home>
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!
--
Alan Modra
IBM OzLabs - Linux Technology Centre