re PR target/86791 (mcore port needs updating for CVE-2017-5753)
authorNick Clifton <nickc@redhat.com>
Thu, 2 Aug 2018 13:30:40 +0000 (13:30 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Thu, 2 Aug 2018 13:30:40 +0000 (13:30 +0000)
PR target/86791
* config/mcore/mcore.c (TARGET_HAVE_SPECULATION_SAFE_VALUE):
Define to speculation_safe_value_not_needed.

From-SVN: r263258

gcc/ChangeLog
gcc/config/mcore/mcore.c

index e62b9efb2edd873c610257dafcaea726964e84e0..0ab24b834df1c0698ce062229f666fe9378bdea0 100644 (file)
@@ -9,6 +9,10 @@
 
 2018-08-02  Nick Clifton  <nickc@redhat.com>
 
+       PR target/86791
+       * config/mcore/mcore.c (TARGET_HAVE_SPECULATION_SAFE_VALUE):
+       Define to speculation_safe_value_not_needed.
+
        PR target/86789
        * config/m32r/m32r.c (TARGET_HAVE_SPECULATION_SAFE_VALUE):
        Define to speculation_safe_value_not_needed.
index 88ea3ff735350da46f3ff4f751cfe492552547ac..6df464d3fc5fe7d65f5d2026de89bc39ccf144a9 100644 (file)
@@ -253,6 +253,9 @@ static const struct attribute_spec mcore_attribute_table[] =
 #undef TARGET_CONSTANT_ALIGNMENT
 #define TARGET_CONSTANT_ALIGNMENT constant_alignment_word_strings
 
+#undef  TARGET_HAVE_SPECULATION_SAFE_VALUE
+#define TARGET_HAVE_SPECULATION_SAFE_VALUE speculation_safe_value_not_needed
+
 struct gcc_target targetm = TARGET_INITIALIZER;
 \f
 /* Adjust the stack and return the number of bytes taken to do it.  */