From 593d93cb0aa00837906d5d1bebb018a42721a114 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 2 Aug 2018 12:31:29 +0000 Subject: [PATCH] re PR target/86789 (m32r port needs updating for CVE-2017-5753) PR target/86789 * config/m32r/m32r.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): Define to speculation_safe_value_not_needed. From-SVN: r263256 --- gcc/ChangeLog | 4 ++++ gcc/config/m32r/m32r.c | 3 +++ 2 files changed, 7 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ca8b9ba051d..2a506ee5ffd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2018-08-02 Nick Clifton + PR target/86789 + * config/m32r/m32r.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): + Define to speculation_safe_value_not_needed. + PR target/86787 * config/iq2000/iq2000.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): Define to speculation_safe_value_not_needed. diff --git a/gcc/config/m32r/m32r.c b/gcc/config/m32r/m32r.c index 06c8085b0c5..a2bd289b24c 100644 --- a/gcc/config/m32r/m32r.c +++ b/gcc/config/m32r/m32r.c @@ -226,6 +226,9 @@ static const struct attribute_spec m32r_attribute_table[] = #undef TARGET_STARTING_FRAME_OFFSET #define TARGET_STARTING_FRAME_OFFSET m32r_starting_frame_offset +#undef TARGET_HAVE_SPECULATION_SAFE_VALUE +#define TARGET_HAVE_SPECULATION_SAFE_VALUE speculation_safe_value_not_needed + struct gcc_target targetm = TARGET_INITIALIZER; /* Called by m32r_option_override to initialize various things. */