From 8eb7aec132e688debbb0e5ce484fd06c10dec623 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Sun, 9 Sep 2018 18:13:18 +0000 Subject: [PATCH] re PR target/86794 (mmix port needs updating for CVE-2017-5753) PR target/86794 * config/mmix/mmix.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): Redefine to speculation_safe_value_not_needed. From-SVN: r264184 --- gcc/ChangeLog | 4 ++++ gcc/config/mmix/mmix.c | 3 +++ 2 files changed, 7 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 57725badf7a..a29b69ccfcf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2018-09-09 Hans-Peter Nilsson + 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". diff --git a/gcc/config/mmix/mmix.c b/gcc/config/mmix/mmix.c index 9e3bc9437ce..b8c7c847790 100644 --- a/gcc/config/mmix/mmix.c +++ b/gcc/config/mmix/mmix.c @@ -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 -- 2.30.2