https://sourceware.org/bugzilla/show_bug.cgi?id=23357
--- Comment #4 from dilyan.palauzov at aegee dot org <dilyan.palauzov at aegee dot org> --- Relevant for valgrind is: commit f6aec96dce1ddbd8961a3aa8a2925db2021719bb (HEAD) Author: H.J. Lu <hjl.to...@gmail.com> Date: Tue Feb 27 11:34:20 2018 -0800 ld: Add --enable-separate-code This patch adds --enable-separate-code to ld configure to turn on -z separate-code by default and enables it by default for Linux/x86. This avoids mixing code pages with data to improve cache performance as well as security. To reduce x86-64 executable and shared object sizes, the maximum page size is reduced from 2MB to 4KB when -z separate-code is turned on by default. Note: -z max-page-size= can be used to set the maximum page size. We compared SPEC CPU 2017 performance before and after this change on Skylake server. There are no any significant performance changes. Everything is mostly below +/-1%. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils