re PR target/86798 (nds32 port needs updating for CVE-2017-5753)
authorChung-Ju Wu <jasonwucj@gmail.com>
Sat, 22 Sep 2018 12:30:50 +0000 (12:30 +0000)
committerChung-Ju Wu <jasonwucj@gcc.gnu.org>
Sat, 22 Sep 2018 12:30:50 +0000 (12:30 +0000)
PR target/86798
* config/nds32/nds32.c (TARGET_HAVE_SPECULATION_SAFE_VALUE):
Define to speculation_safe_value_not_needed.

From-SVN: r264503

gcc/ChangeLog
gcc/config/nds32/nds32.c

index c39c3b81ddd7f71d3cb2768bdd636ec2d5ebff9a..b6e9de16a26da93c9520e039a8a1a61d97a259d2 100644 (file)
@@ -1,3 +1,9 @@
+2018-09-22  Chung-Ju Wu  <jasonwucj@gmail.com>
+
+       PR target/86798
+       * config/nds32/nds32.c (TARGET_HAVE_SPECULATION_SAFE_VALUE):
+       Define to speculation_safe_value_not_needed.
+
 2018-09-21  Florian Weimer  <fweimer@redhat.com>
 
        PR middle-end/81035
index d58be37ee9cf14a14469d75a9d7ee43bd75f7ac2..1ae34fc11f0166aca2696e9e0df76e69d7b2b5b0 100644 (file)
@@ -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
+
 \f
 /* ------------------------------------------------------------------------ */