re PR target/86790 (m68k port needs updating for CVE-2017-5753)
authorJeff Law <law@redhat.com>
Thu, 2 Aug 2018 17:50:16 +0000 (11:50 -0600)
committerJeff Law <law@gcc.gnu.org>
Thu, 2 Aug 2018 17:50:16 +0000 (11:50 -0600)
PR target/86790
* config/m68k/m68k.c (TARGET_HAVE_SPECULATION_SAFE_VALUE):
Define to speculation_safe_value_not_needed.

From-SVN: r263272

gcc/ChangeLog
gcc/config/m68k/m68k.c

index 06db972e5d6ff1562fc1a36bf7ea360b8e7717f4..762e14ef224b04625f1adbd20e34c0b5f662cba9 100644 (file)
@@ -1,5 +1,9 @@
 2018-08-02  Jeff Law  <law@redhat.com>
 
+       PR target/86790
+       * config/m68k/m68k.c (TARGET_HAVE_SPECULATION_SAFE_VALUE):
+       Define to speculation_safe_value_not_needed.
+
        PR target/86784
        * config/h8300/h8300.c (TARGET_HAVE_SPECULATION_SAFE_VALUE):
        Define to speculation_safe_value_not_needed.
index ef8604ebe3d7e582c4c5e35356ac17dde54477b8..75a5a5b69b95b8df1e555f374835c39a99d65e83 100644 (file)
@@ -353,6 +353,9 @@ static machine_mode m68k_promote_function_mode (const_tree, machine_mode,
 #undef TARGET_PROMOTE_FUNCTION_MODE
 #define TARGET_PROMOTE_FUNCTION_MODE m68k_promote_function_mode
 
+#undef  TARGET_HAVE_SPECULATION_SAFE_VALUE
+#define TARGET_HAVE_SPECULATION_SAFE_VALUE speculation_safe_value_not_needed
+
 static const struct attribute_spec m68k_attribute_table[] =
 {
   /* { name, min_len, max_len, decl_req, type_req, fn_type_req,