This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH 0/2] GCC 6: i386: Move struct ix86_frame to machine_function
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 16 Jan 2018 09:00:53 -0800
- Subject: [PATCH 0/2] GCC 6: i386: Move struct ix86_frame to machine_function
- Authentication-results: sourceware.org; auth=none
This patch set makes ix86_frame available to i386 code generation. They
are needed to backport the patch set of -mindirect-branch= to mitigate
variant #2 of the speculative execution vulnerabilities on x86 processors
identified by CVE-2017-5715, aka Spectre.
Tested on Linux/i686 and Linux/x86-64.
hjl (2):
i386: Move struct ix86_frame to machine_function
i386: Use reference of struct ix86_frame to avoid copy
gcc/config/i386/i386.c | 70 ++++++++++----------------------------------------
gcc/config/i386/i386.h | 53 +++++++++++++++++++++++++++++++++++++-
2 files changed, 65 insertions(+), 58 deletions(-)
--
2.14.3