This is the mail archive of the binutils@sources.redhat.com 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: How do I prevent ld from merging PT_LOAD segments?


Turns out that setting the page size to 4k is something we did in our
internal port of 2.10.1 that just missed the boat when we submitted our
support to the head branch.  I've fixed it internally and I submitted a
patch about 15 minutes ago :)

> -----Original Message-----
> From: Nick Clifton [mailto:nickc@redhat.com]
> Sent: July 11, 2003 10:05 AM
> To: jbaker@qnx.com
> Cc: binutils@sources.redhat.com
> Subject: Re: How do I prevent ld from merging PT_LOAD segments?
> 
> 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
> 


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