aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChung-Ju Wu <jasonwucj@gmail.com>2018-09-22 12:30:50 +0000
committerChung-Ju Wu <jasonwucj@gcc.gnu.org>2018-09-22 12:30:50 +0000
commit091a8640be4f26433c73257b381e1ac376713bff (patch)
tree135172c35342a4c7e7411ba0a1c3004187d874bc
parent204d463084b323890918c66032fe8b582ea855d6 (diff)
downloadgcc-091a8640be4f26433c73257b381e1ac376713bff.zip
gcc-091a8640be4f26433c73257b381e1ac376713bff.tar.gz
gcc-091a8640be4f26433c73257b381e1ac376713bff.tar.bz2
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
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/nds32/nds32.c3
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c39c3b8..b6e9de1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/nds32/nds32.c b/gcc/config/nds32/nds32.c
index d58be37..1ae34fc 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
+
/* ------------------------------------------------------------------------ */