[PATCH 0/6] ld: Add "-z textonly" option to ELF linker

Alan Modra amodra@gmail.com
Wed Jan 10 04:45:00 GMT 2018


On Wed, Jan 10, 2018 at 09:40:19AM +1030, Alan Modra wrote:
> that means a glibc change is needed (I think).  Can we make ld.so
> clear out leading and trailing rubbish from PF_X segments for glibc
> 2.27?

On second thoughts, that's not such a good idea.  If we write to a
memory page it becomes unshared.  So it seems we must align to
common-page-size.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list