diff options
author | Nick Clifton <nickc@redhat.com> | 2018-08-02 16:13:32 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 2018-08-02 16:13:32 +0000 |
commit | 01557bd44e08074f0458dd367efbc59b6c5008d8 (patch) | |
tree | 11e3b56f4c54170f1d70bee996e609c1b41c263f /gcc | |
parent | 77e0a97acf7b00c1e68e4738fdf275a4cffc2e50 (diff) | |
download | gcc-01557bd44e08074f0458dd367efbc59b6c5008d8.zip gcc-01557bd44e08074f0458dd367efbc59b6c5008d8.tar.gz gcc-01557bd44e08074f0458dd367efbc59b6c5008d8.tar.bz2 |
re PR target/86813 (xstormy16 port needs updating for CVE-2017-5753)
PR target/86813
* config/stormy16/stormy16.c (TARGET_HAVE_SPECULATION_SAFE_VALUE):
Define to speculation_safe_value_not_needed.
From-SVN: r263266
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/config/stormy16/stormy16.c | 3 |
2 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4a6ef92..ef198bd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -27,6 +27,14 @@ 2018-08-02 Nick Clifton <nickc@redhat.com> + PR target/86813 + * config/stormy16/stormy16.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): + Define to speculation_safe_value_not_needed. + + PR target/86810 + * config/v850/v850.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): + Define to speculation_safe_value_not_needed. + PR target/86810 * config/v850/v850.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): Define to speculation_safe_value_not_needed. diff --git a/gcc/config/stormy16/stormy16.c b/gcc/config/stormy16/stormy16.c index 25f7ce0..6fbbbe2 100644 --- a/gcc/config/stormy16/stormy16.c +++ b/gcc/config/stormy16/stormy16.c @@ -2728,6 +2728,9 @@ xstormy16_push_rounding (poly_int64 bytes) #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; #include "gt-stormy16.h" |