PR22758, FAIL: Run pr22393-2
Alan Modra
amodra@gmail.com
Tue Jan 30 10:20:00 GMT 2018
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
More information about the Binutils
mailing list