[Bug c/69429] gcc create sparse exec/libs
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jan 22 12:48:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69429
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Because most of the powerpc distros now use 64KB page size instead of 4KB, so
having only 4KB common page size means security protection of relro area
usually does not work or covers smaller amount of data.
You can probably use -z common-page-size=4096 if you are sure you are never
going to run your binaries on a kernel with 64KB pages.
More information about the Gcc-bugs
mailing list