[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/22393] Add read-only segment
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug ld/22393] Add read-only segment |
Date: |
Fri, 09 Nov 2018 10:22:57 +0000 |
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 <address@hidden>
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.