From: Oleg Endo Date: Sat, 28 Sep 2019 08:53:27 +0000 (+0000) Subject: re PR target/86805 (sh port needs updating for CVE-2017-5753) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c57a385006790d814e1f9ac4f4235a787c6c6e30;p=gcc.git re PR target/86805 (sh port needs updating for CVE-2017-5753) gcc/ 2019-09-28 Oleg Endo PR target/86805 * config/sh/sh.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): Define. From-SVN: r276244 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 459fbe53771..0dd37202200 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-09-28 Oleg Endo + + PR target/86805 + * config/sh/sh.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): Define. + 2019-09-28 Oleg Endo PR target/80672 diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c index 5c4598fb2c0..34c4c8fb858 100644 --- a/gcc/config/sh/sh.c +++ b/gcc/config/sh/sh.c @@ -661,6 +661,9 @@ static const struct attribute_spec sh_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;