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: [PATCH, PPC] Use 64k for COMMONPAGESIZE


On Fri, Dec 19, 2014 at 09:45:21AM +0100, Sebastian Huber wrote:
> On 19/12/14 09:16, Alan Modra wrote:
> >One other thing I'd forgotten about is that COMMONPAGESIZE is used to
> >decide where the relro segment ends (which after reading some bug
> >reports, I guess is the driving force behind this patch).  This
> >particular usage*can*  increase memory footprint so my "won't use more
> >memory" remark above is incorrect.
> >
> >You could argue that using COMMONPAGESIZE for this purpose is a bug,
> >and that MAXPAGESIZE should determine the relro segment end instead..
> 
> is this change relevant if I use a custom linker command file that is
> supposed to place all sections into a defined memory region?

You would need to be using DATA_SEGMENT_RELRO_END in your script.

-- 
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]