diff options
author | Oleg Endo <olegendo@gcc.gnu.org> | 2019-09-28 08:53:27 +0000 |
---|---|---|
committer | Oleg Endo <olegendo@gcc.gnu.org> | 2019-09-28 08:53:27 +0000 |
commit | c57a385006790d814e1f9ac4f4235a787c6c6e30 (patch) | |
tree | e94f09d9a0c5ced4a2e857fd843a0ab221a44e29 /gcc | |
parent | 2664bcb87601c9f77c61dea1583166c9dbb135a3 (diff) | |
download | gcc-c57a385006790d814e1f9ac4f4235a787c6c6e30.zip gcc-c57a385006790d814e1f9ac4f4235a787c6c6e30.tar.gz gcc-c57a385006790d814e1f9ac4f4235a787c6c6e30.tar.bz2 |
re PR target/86805 (sh port needs updating for CVE-2017-5753)
gcc/
2019-09-28 Oleg Endo <olegendo@gcc.gnu.org>
PR target/86805
* config/sh/sh.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): Define.
From-SVN: r276244
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/sh/sh.c | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 459fbe5..0dd3720 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2019-09-28 Oleg Endo <olegendo@gcc.gnu.org> + PR target/86805 + * config/sh/sh.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): Define. + +2019-09-28 Oleg Endo <olegendo@gcc.gnu.org> + PR target/80672 * config/sh/sh.c (parse_validate_atomic_model_option): Use std::string::compare instead of std::string::find. diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c index 5c4598f..34c4c8f 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; |