From c53e89f4686091a98c974e18ed100d818faa38f2 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Wed, 5 Sep 2018 23:14:42 +0000 Subject: [PATCH] re PR target/86779 (Cris port needs updating for CVE-2017-5753) PR target/86779 * config/cris/cris.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): Redefine to speculation_safe_value_not_needed. From-SVN: r264134 --- gcc/ChangeLog | 6 ++++++ gcc/config/cris/cris.c | 3 +++ 2 files changed, 9 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9400a2ac97a..02132db6282 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2018-09-06 Hans-Peter Nilsson + + PR target/86779 + * config/cris/cris.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): Redefine + to speculation_safe_value_not_needed. + 2018-09-05 Cesar Philippidis Bernd Schmidt diff --git a/gcc/config/cris/cris.c b/gcc/config/cris/cris.c index 57bd69109b1..c652cb34558 100644 --- a/gcc/config/cris/cris.c +++ b/gcc/config/cris/cris.c @@ -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 -- 2.30.2