From: Chung-Ju Wu Date: Sat, 22 Sep 2018 12:30:50 +0000 (+0000) Subject: re PR target/86798 (nds32 port needs updating for CVE-2017-5753) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=091a8640be4f26433c73257b381e1ac376713bff;p=gcc.git re PR target/86798 (nds32 port needs updating for CVE-2017-5753) PR target/86798 * config/nds32/nds32.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): Define to speculation_safe_value_not_needed. From-SVN: r264503 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c39c3b81ddd..b6e9de16a26 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2018-09-22 Chung-Ju Wu + + PR target/86798 + * config/nds32/nds32.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): + Define to speculation_safe_value_not_needed. + 2018-09-21 Florian Weimer PR middle-end/81035 diff --git a/gcc/config/nds32/nds32.c b/gcc/config/nds32/nds32.c index d58be37ee9c..1ae34fc11f0 100644 --- a/gcc/config/nds32/nds32.c +++ b/gcc/config/nds32/nds32.c @@ -5877,6 +5877,9 @@ nds32_use_blocks_for_constant_p (machine_mode mode, #undef TARGET_USE_BLOCKS_FOR_CONSTANT_P #define TARGET_USE_BLOCKS_FOR_CONSTANT_P nds32_use_blocks_for_constant_p +#undef TARGET_HAVE_SPECULATION_SAFE_VALUE +#define TARGET_HAVE_SPECULATION_SAFE_VALUE speculation_safe_value_not_needed + /* ------------------------------------------------------------------------ */