This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: How do I prevent ld from merging PT_LOAD segments?
- From: Nick Clifton <nickc at redhat dot com>
- To: jbaker at qnx dot com
- Cc: binutils at sources dot redhat dot com
- Date: Fri, 11 Jul 2003 15:05:10 +0100
- Subject: Re: How do I prevent ld from merging PT_LOAD segments?
- References: <1578FF984ABAD411AFA5000102C4BB5B04E41278@nimbus>
Hi Jeff,
> I've discovered that if I set the MAXPAGESIZE in the linker script
> to be the same as the alignment of the PT_LOAD segment everything
> seems to fall back into place.
>
> Now my question becomes why did the alignment change from 4k to 32k?
Unfortunately there does not appear to be a ChangeLog entry for the
switch from 4k to 32k. Presumably 32k matches the page size on some
OS implentation for an OS that runs on the ARM. arm-linux maybe ?
Cheers
Nick