This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR22758, FAIL: Run pr22393-2


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]