summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/ChangeLog7
-rw-r--r--config/cet.m42
2 files changed, 7 insertions, 2 deletions
diff --git a/config/ChangeLog b/config/ChangeLog
index ba360e10165..02b96ffac46 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,6 +1,11 @@
+2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR target/85485
+ * cet.m4 (GCC_CET_FLAGS): Replace -mcet with -mshstk.
+
2018-04-19 Jakub Jelinek <jakub@redhat.com>
- * config/cet.m4 (GCC_CET_FLAGS): Default to --disable-cet, replace
+ * cet.m4 (GCC_CET_FLAGS): Default to --disable-cet, replace
--enable-cet=default with --enable-cet=auto.
2018-04-18 David Malcolm <dmalcolm@redhat.com>
diff --git a/config/cet.m4 b/config/cet.m4
index 04a0e05d2ff..b53c1bbd5cd 100644
--- a/config/cet.m4
+++ b/config/cet.m4
@@ -42,7 +42,7 @@ asm ("setssbsy");
;;
esac
if test x$enable_cet = xyes; then
- $1="-fcf-protection -mcet"
+ $1="-fcf-protection -mshstk"
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])