re PR target/86789 (m32r port needs updating for CVE-2017-5753)
authorNick Clifton <nickc@redhat.com>
Thu, 2 Aug 2018 12:31:29 +0000 (12:31 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Thu, 2 Aug 2018 12:31:29 +0000 (12:31 +0000)
PR target/86789
* config/m32r/m32r.c (TARGET_HAVE_SPECULATION_SAFE_VALUE):
Define to speculation_safe_value_not_needed.

From-SVN: r263256

gcc/ChangeLog
gcc/config/m32r/m32r.c

index ca8b9ba051d419d5ce397340ed06803ec8febf81..2a506ee5ffd9f6ff1d5a876f807eee9968ae6a79 100644 (file)
@@ -1,5 +1,9 @@
 2018-08-02  Nick Clifton  <nickc@redhat.com>
 
+       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.
index 06c8085b0c5812f059ad1e473ba5f02a54f57de2..a2bd289b24c9a171c4c063d5ed894401eb06133d 100644 (file)
@@ -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;
 \f
 /* Called by m32r_option_override to initialize various things.  */