From fd157d13ea2fa2216fc2467c0fc9065f29649913 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 2 Aug 2018 11:46:06 +0000 Subject: [PATCH] re PR target/86782 (frv port needs updating for CVE-2017-5753) PR target/86782 * config/frv/frv.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): Define to speculation_safe_value_not_needed. From-SVN: r263254 --- gcc/ChangeLog | 4 ++++ gcc/config/frv/frv.c | 3 +++ 2 files changed, 7 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f62a46e57d4..48511fe6309 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2018-08-02 Nick Clifton + PR target/86782 + * config/frv/frv.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): Define to + speculation_safe_value_not_needed. + PR target/86781 * config/fr30/fr30.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): Define to speculation_safe_value_not_needed. diff --git a/gcc/config/frv/frv.c b/gcc/config/frv/frv.c index 6920e6ddace..f031bfa881d 100644 --- a/gcc/config/frv/frv.c +++ b/gcc/config/frv/frv.c @@ -528,6 +528,9 @@ static bool frv_modes_tieable_p (machine_mode, machine_mode); #undef TARGET_CONSTANT_ALIGNMENT #define TARGET_CONSTANT_ALIGNMENT constant_alignment_word_strings +#undef TARGET_HAVE_SPECULATION_SAFE_VALUE +#define TARGET_HAVE_SPECULATION_SAFE_VALUE speculation_safe_value_not_needed + struct gcc_target targetm = TARGET_INITIALIZER; #define FRV_SYMBOL_REF_TLS_P(RTX) \ -- 2.30.2