From e3b4c72997bd3e21f653b0930667e5970c4fecba Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 2 Aug 2018 14:35:10 +0000 Subject: [PATCH] re PR target/86803 (rx port needs updating for CVE-2017-5753) PR target/86803 * config/rx/rx.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): Define to speculation_safe_value_not_needed. From-SVN: r263263 --- gcc/ChangeLog | 4 ++++ gcc/config/rx/rx.c | 3 +++ 2 files changed, 7 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e4aa6849f5d..31e210b2f82 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -19,6 +19,10 @@ 2018-08-02 Nick Clifton + PR target/86803 + * config/rx/rx.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): + Define to speculation_safe_value_not_needed. + PR target/86797 * config/msp430/msp430.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): Define to speculation_safe_value_not_needed. diff --git a/gcc/config/rx/rx.c b/gcc/config/rx/rx.c index c2669edc62c..5f5cc51379c 100644 --- a/gcc/config/rx/rx.c +++ b/gcc/config/rx/rx.c @@ -3796,6 +3796,9 @@ rx_modes_tieable_p (machine_mode mode1, machine_mode mode2) #undef TARGET_RTX_COSTS #define TARGET_RTX_COSTS rx_rtx_costs +#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-rx.h" -- 2.30.2