diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2018-09-05 23:14:42 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@gcc.gnu.org> | 2018-09-05 23:14:42 +0000 |
commit | c53e89f4686091a98c974e18ed100d818faa38f2 (patch) | |
tree | 06eb4bf66fbc97d6dd60a893d499b2503ba53d81 /gcc/config/cris | |
parent | 53ceb8b542816b7b0a4175c1c2576104e1dc55ce (diff) | |
download | gcc-c53e89f4686091a98c974e18ed100d818faa38f2.zip gcc-c53e89f4686091a98c974e18ed100d818faa38f2.tar.gz gcc-c53e89f4686091a98c974e18ed100d818faa38f2.tar.bz2 |
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
Diffstat (limited to 'gcc/config/cris')
-rw-r--r-- | gcc/config/cris/cris.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/cris/cris.c b/gcc/config/cris/cris.c index 57bd691..c652cb3 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 |