re PR target/86794 (mmix port needs updating for CVE-2017-5753)
authorHans-Peter Nilsson <hp@bitrange.com>
Sun, 9 Sep 2018 18:13:18 +0000 (18:13 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Sun, 9 Sep 2018 18:13:18 +0000 (18:13 +0000)
PR target/86794
* config/mmix/mmix.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): Redefine
to speculation_safe_value_not_needed.

From-SVN: r264184

gcc/ChangeLog
gcc/config/mmix/mmix.c

index 57725badf7a6b1b567d775f8ea4bcd90fc4fb4b5..a29b69ccfcf7f93997a37c1f6f0392b6aa28db5f 100644 (file)
@@ -1,5 +1,9 @@
 2018-09-09  Hans-Peter Nilsson  <hp@bitrange.com>
 
+       PR target/86794
+       * config/mmix/mmix.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): Redefine
+       to speculation_safe_value_not_needed.
+
        PR target/85666
        * config/mmix/mmix.c (mmix_assemble_integer): Handle byte-size
        non-CONST_INT rtx:es using assemble_integer_with_op ".byte".
index 9e3bc9437ce9da74fe2b02029680ffb770d2b851..b8c7c84779035f216efc3a9a667ed13a40bed30e 100644 (file)
@@ -224,6 +224,9 @@ static HOST_WIDE_INT mmix_starting_frame_offset (void);
 #undef TARGET_CONDITIONAL_REGISTER_USAGE
 #define TARGET_CONDITIONAL_REGISTER_USAGE mmix_conditional_register_usage
 
+#undef TARGET_HAVE_SPECULATION_SAFE_VALUE
+#define TARGET_HAVE_SPECULATION_SAFE_VALUE speculation_safe_value_not_needed
+
 #undef TARGET_RTX_COSTS
 #define TARGET_RTX_COSTS mmix_rtx_costs
 #undef TARGET_ADDRESS_COST