https://sourceware.org/bugzilla/show_bug.cgi?id=22393

--- Comment #8 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Zack Weinberg from comment #7)
> Thanks for doing this, H.J.
> 
> I'm confused - is -z separate-code the new default or not?  The patch reads
> like it's not the default, but the demo you posted in #16685 makes it look
> like it is the default.

It is the default for Linux/x86:

commit f6aec96dce1ddbd8961a3aa8a2925db2021719bb
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.

-- 
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

Reply via email to