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

Reply via email to