aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/iq2000
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2018-08-02 12:14:52 +0000
committerNick Clifton <nickc@gcc.gnu.org>2018-08-02 12:14:52 +0000
commit9950fbd3cfe7c49d5998ec8f27d2015b53b8dd3c (patch)
tree8a32dba9d0c8214ef90bdced7ed34aa48f3abd0f /gcc/config/iq2000
parentfd157d13ea2fa2216fc2467c0fc9065f29649913 (diff)
downloadgcc-9950fbd3cfe7c49d5998ec8f27d2015b53b8dd3c.zip
gcc-9950fbd3cfe7c49d5998ec8f27d2015b53b8dd3c.tar.gz
gcc-9950fbd3cfe7c49d5998ec8f27d2015b53b8dd3c.tar.bz2
re PR target/86787 (iq2000 port needs updating for CVE-2017-5753)
PR target/86787 * config/iq2000/iq2000.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): Define to speculation_safe_value_not_needed. From-SVN: r263255
Diffstat (limited to 'gcc/config/iq2000')
-rw-r--r--gcc/config/iq2000/iq2000.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/iq2000/iq2000.c b/gcc/config/iq2000/iq2000.c
index ee89ced..4b30a44 100644
--- a/gcc/config/iq2000/iq2000.c
+++ b/gcc/config/iq2000/iq2000.c
@@ -274,6 +274,9 @@ static HOST_WIDE_INT iq2000_starting_frame_offset (void);
#undef TARGET_STARTING_FRAME_OFFSET
#define TARGET_STARTING_FRAME_OFFSET iq2000_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;
/* Return nonzero if we split the address into high and low parts. */