diff mbox series

[committed] Fix target/86795 (mn10300)

Message ID 05926228-8ea1-afcc-a470-bed930e4c1e2@redhat.com
State New
Headers show
Series [committed] Fix target/86795 (mn10300) | expand

Commit Message

Jeff Law Aug. 3, 2018, 5:40 p.m. UTC
AFAIK there's not enough building blocks on the mn103 series to mount a
spectre v1 attack.

Committed to the trunk.

Jeff
commit 2419ebf7b73827b1266f265b325d24c2e9daf0f1
Author: law <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Fri Aug 3 17:39:00 2018 +0000

            PR target/86795
            * config/mn10300/mn10300.c (TARGET_HAVE_SPECULATION_SAFE_VALUE):
            Define to speculation_safe_value_not_needed.
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@263296 138bc75d-0d04-0410-961f-82ee72b054a4
diff mbox series

Patch

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0c4918bf1ef..0b451cef341 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@ 
+2018-08-03  Jeff Law  <law@redhat.com>
+
+	PR target/86795
+	* config/mn10300/mn10300.c (TARGET_HAVE_SPECULATION_SAFE_VALUE):
+	Define to speculation_safe_value_not_needed.
+
 2018-08-03  David Malcolm  <dmalcolm@redhat.com>
 
 	* doc/gcov.texi (-x): Remove duplicate "to".
diff --git a/gcc/config/mn10300/mn10300.c b/gcc/config/mn10300/mn10300.c
index 1247f32e3d5..a7e5e6b24f5 100644
--- a/gcc/config/mn10300/mn10300.c
+++ b/gcc/config/mn10300/mn10300.c
@@ -3437,4 +3437,7 @@  mn10300_reorg (void)
 #undef  TARGET_MODES_TIEABLE_P
 #define TARGET_MODES_TIEABLE_P mn10300_modes_tieable_p
 
+#undef  TARGET_HAVE_SPECULATION_SAFE_VALUE
+#define TARGET_HAVE_SPECULATION_SAFE_VALUE speculation_safe_value_not_needed
+
 struct gcc_target targetm = TARGET_INITIALIZER;