From deec799746e92ab0487eca489499ade08a2610bf Mon Sep 17 00:00:00 2001 From: Caroline Tice Date: Mon, 8 Jan 2018 10:25:12 -0800 Subject: [GCC] Commit retpoline patch code, for fixing security issues. This applies the Intel GCC code patches, to allow compiling with appropriate flags for mitigating the indirect branch variant of the speculative execution security flaw. Bug: None Test: This is already in place in ChromeOS and has been tested on the ChromeOS kernels. Change-Id: Ideffb433b697f1fe7e4ca2c1eaa968160abfcc8b --- gcc-4.9/gcc/params.def | 9 --------- 1 file changed, 9 deletions(-) (limited to 'gcc-4.9/gcc/params.def') diff --git a/gcc-4.9/gcc/params.def b/gcc-4.9/gcc/params.def index 518d379ed..31bd13d4e 100644 --- a/gcc-4.9/gcc/params.def +++ b/gcc-4.9/gcc/params.def @@ -1338,15 +1338,6 @@ DEFPARAM (PARAM_MAX_SLSR_CANDIDATE_SCAN, "strength reduction", 50, 1, 999999) -/* Parameters to be used with -mpatch-functions-for-instrumentation. - See config/i386/i386.opt */ -DEFPARAM (PARAM_FUNCTION_PATCH_MIN_INSTRUCTIONS, - "function-patch-min-instructions", - "Minimum number of instructions in the function without loop before " - "the function is qualified for patching for instrumentation (for use " - "with -mpatch-functions-for-instrumentation)", - 200, 0, 0) - DEFPARAM (PARAM_ASAN_STACK, "asan-stack", "Enable asan stack protection", -- cgit v1.2.3