Question about ELF_COMMONPAGESIZE and Fedora downstream change to it

Simon Richter Simon.Richter@hogyros.de
Mon Aug 18 03:48:28 GMT 2025
Hi,

On 8/18/25 7:41 AM, Alan Modra wrote:

> My guess is that this change was to avoid bugs in relro segment
> layout.  It used to be that the relro segment was allowed to finish on
> a commonpagesize boundary, but if hardware pages are actually
> maxpagesize then the end of the relro segment became read/write.  See
> commit 9833b7757d24.

Should maxpagesize be 256k on PPC64, then (Uncommon configuration, but 
possible)?

64k is definitely somewhat common.

    Simon


More information about the Binutils mailing list