From: Nick Clifton Date: Thu, 2 Aug 2018 14:02:32 +0000 (+0000) Subject: re PR target/86797 (msp430 port needs updating for CVE-2017-5753) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7c9f1147b866b3fec70fdce60bc37f1f4d41b330;p=gcc.git re PR target/86797 (msp430 port needs updating for CVE-2017-5753) PR target/86797 * config/msp430/msp430.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): Define to speculation_safe_value_not_needed. From-SVN: r263259 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0ab24b834df..85c1ef57991 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -9,6 +9,10 @@ 2018-08-02 Nick Clifton + PR target/86797 + * config/msp430/msp430.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): + Define to speculation_safe_value_not_needed. + PR target/86791 * config/mcore/mcore.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): Define to speculation_safe_value_not_needed. diff --git a/gcc/config/msp430/msp430.c b/gcc/config/msp430/msp430.c index 685bdc8f785..7d305b1bece 100644 --- a/gcc/config/msp430/msp430.c +++ b/gcc/config/msp430/msp430.c @@ -3871,6 +3871,9 @@ msp430_can_change_mode_class (machine_mode from, machine_mode to, reg_class_t) return true; } +#undef TARGET_HAVE_SPECULATION_SAFE_VALUE +#define TARGET_HAVE_SPECULATION_SAFE_VALUE speculation_safe_value_not_needed + struct gcc_target targetm = TARGET_INITIALIZER; #include "gt-msp430.h"