diff options
author | Michael J. Eager <eager@eagercon.com> | 2025-05-25 09:25:27 -0700 |
---|---|---|
committer | Michael J. Eager <eager@eagercon.com> | 2025-05-25 09:25:27 -0700 |
commit | 4ac1fb51c7b780159837e951bd893954d7d8803a (patch) | |
tree | c2110a1793a75df2d17276af67c05822b3e11550 | |
parent | 65c2baf9f12e50063566a5736a8f4f5b44a29437 (diff) | |
download | gcc-4ac1fb51c7b780159837e951bd893954d7d8803a.zip gcc-4ac1fb51c7b780159837e951bd893954d7d8803a.tar.gz gcc-4ac1fb51c7b780159837e951bd893954d7d8803a.tar.bz2 |
MicroBlaze does not support speculative execution (CVE-2017-5753)
gcc/
PR target/86772
Tracking CVE-2017-5753
* config/microblaze/microblaze.cc (TARGET_HAVE_SPECULATION_SAFE_VALUE):
Define to speculation_save_value_not_needed
-rw-r--r-- | gcc/config/microblaze/microblaze.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/microblaze/microblaze.cc b/gcc/config/microblaze/microblaze.cc index fc223fb..4b7f0a1 100644 --- a/gcc/config/microblaze/microblaze.cc +++ b/gcc/config/microblaze/microblaze.cc @@ -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) |