re PR target/86779 (Cris port needs updating for CVE-2017-5753)
authorHans-Peter Nilsson <hp@axis.com>
Wed, 5 Sep 2018 23:14:42 +0000 (23:14 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Wed, 5 Sep 2018 23:14:42 +0000 (23:14 +0000)
PR target/86779
* config/cris/cris.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): Redefine
to speculation_safe_value_not_needed.

From-SVN: r264134

gcc/ChangeLog
gcc/config/cris/cris.c

index 9400a2ac97a472a4c8942fe81649cd4d05e844de..02132db628269a27818b8dcb5ad8dd13798edf03 100644 (file)
@@ -1,3 +1,9 @@
+2018-09-06  Hans-Peter Nilsson  <hp@axis.com>
+
+       PR target/86779
+       * config/cris/cris.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): Redefine
+       to speculation_safe_value_not_needed.
+
 2018-09-05  Cesar Philippidis  <cesar@codesourcery.com>
            Bernd Schmidt  <bernds_cb1@t-online.de>
 
index 57bd69109b1c70d61c564885cbcee75aa85681b7..c652cb34558eea5f3b8b1e5c6c9a750c4f7ddd65 100644 (file)
@@ -248,6 +248,9 @@ int cris_cpu_version = CRIS_DEFAULT_CPU_VERSION;
 #undef TARGET_ATOMIC_ALIGN_FOR_MODE
 #define TARGET_ATOMIC_ALIGN_FOR_MODE cris_atomic_align_for_mode
 
+#undef TARGET_HAVE_SPECULATION_SAFE_VALUE
+#define TARGET_HAVE_SPECULATION_SAFE_VALUE speculation_safe_value_not_needed
+
 #undef TARGET_STRUCT_VALUE_RTX
 #define TARGET_STRUCT_VALUE_RTX cris_struct_value_rtx
 #undef TARGET_SETUP_INCOMING_VARARGS