]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
MicroBlaze does not support speculative execution (CVE-2017-5753)
authorMichael J. Eager <eager@eagercon.com>
Sat, 24 May 2025 21:54:55 +0000 (14:54 -0700)
committerMichael J. Eager <eager@eagercon.com>
Sun, 25 May 2025 01:18:46 +0000 (18:18 -0700)
gcc/
PR target/86772
Tracking CVE-2017-5753
* config/microblaze/microblaze.cc (TARGET_HAVE_SPECULATION_SAFE_VALUE):
Define to speculation_save_value_not_needed

gcc/config/microblaze/microblaze.cc

index 98ec6116ffda1664ba7d6f43f9070b49a1ef25d4..26eb007b8448826ec35d5414b2a97f9a43ada2c3 100644 (file)
@@ -239,6 +239,10 @@ section *sdata2_section;
 #define TARGET_HAVE_TLS true
 #endif
 
+/* MicroBlaze does not do speculative execution.  */
+#undef  TARGET_HAVE_SPECULATION_SAFE_VALUE
+#define TARGET_HAVE_SPECULATION_SAFE_VALUE speculation_safe_value_not_needed
+
 /* Return truth value if a CONST_DOUBLE is ok to be a legitimate constant.  */
 static bool
 microblaze_const_double_ok (rtx op, machine_mode mode)