From: Jeff Law Date: Thu, 2 Aug 2018 17:50:16 +0000 (-0600) Subject: re PR target/86790 (m68k port needs updating for CVE-2017-5753) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a1293ed1e19b038da2daf2d8d22ffc434ed75b4f;p=gcc.git re PR target/86790 (m68k port needs updating for CVE-2017-5753) PR target/86790 * config/m68k/m68k.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): Define to speculation_safe_value_not_needed. From-SVN: r263272 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 06db972e5d6..762e14ef224 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2018-08-02 Jeff Law + PR target/86790 + * config/m68k/m68k.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): + Define to speculation_safe_value_not_needed. + PR target/86784 * config/h8300/h8300.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): Define to speculation_safe_value_not_needed. diff --git a/gcc/config/m68k/m68k.c b/gcc/config/m68k/m68k.c index ef8604ebe3d..75a5a5b69b9 100644 --- a/gcc/config/m68k/m68k.c +++ b/gcc/config/m68k/m68k.c @@ -353,6 +353,9 @@ static machine_mode m68k_promote_function_mode (const_tree, machine_mode, #undef TARGET_PROMOTE_FUNCTION_MODE #define TARGET_PROMOTE_FUNCTION_MODE m68k_promote_function_mode +#undef TARGET_HAVE_SPECULATION_SAFE_VALUE +#define TARGET_HAVE_SPECULATION_SAFE_VALUE speculation_safe_value_not_needed + static const struct attribute_spec m68k_attribute_table[] = { /* { name, min_len, max_len, decl_req, type_req, fn_type_req,