This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PR22758, FAIL: Run pr22393-2
- From: Alan Modra <amodra at gmail dot com>
- To: binutils at sourceware dot org
- Date: Tue, 30 Jan 2018 18:57:40 +1030
- Subject: Re: PR22758, FAIL: Run pr22393-2
- Authentication-results: sourceware.org; auth=none
- References: <20180130082211.GS20622@bubble.grove.modra.org>
On Tue, Jan 30, 2018 at 06:52:11PM +1030, Alan Modra wrote:
> + else if ((abfd->flags & D_PAGED) != 0
> + && (((last_hdr->lma + last_size - 1) & -maxpagesize)
> + == (hdr->lma & -maxpagesize)))
> + {
> + /* If we are demand paged then we can't map two disk
> + pages onto the same memory page, unless we are
> + overlaying. Overlays are handled above. */
> + new_segment = FALSE;
> + }
Oops, sent the wrong patch. Revised version doesn't talk about
overlays here. (We test LMA rather than VMA specifically to skirt the
issue of overlays.)
--
Alan Modra
Australia Development Lab, IBM