[PATCH, PPC] Use 64k for COMMONPAGESIZE
Fri Dec 19 09:08:00 GMT 2014
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.
Australia Development Lab, IBM
More information about the Binutils