aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2018-04-24 16:47:24 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2018-04-24 09:47:24 -0700
commit48f64e053e4069a687410b1970ad85695bc73559 (patch)
treec32217a550bfef7e2471f543838bc8de4ddcbe16 /config
parent7b47ecf2f76c2ca4755389046a874c1a47f49fe5 (diff)
downloadgcc-48f64e053e4069a687410b1970ad85695bc73559.zip
gcc-48f64e053e4069a687410b1970ad85695bc73559.tar.gz
gcc-48f64e053e4069a687410b1970ad85695bc73559.tar.bz2
Don't bootstrap GCC with -mcet
With revision 259496: commit b1384095a7c1d06a44b70853372ebe037b2f7867 Author: hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Thu Apr 19 15:15:04 2018 +0000 x86: Enable -fcf-protection with multi-byte NOPs -fcf-protection no longer requires -mcet. config/ PR target/85485 * bootstrap-cet.mk (STAGE2_CFLAGS): Remove -mcet. (STAGE3_CFLAGS): Likewise. gcc/ PR target/85485 * doc/install.texi: Remove -mcet from bootstrap-cet. From-SVN: r259611
Diffstat (limited to 'config')
-rw-r--r--config/ChangeLog6
-rw-r--r--config/bootstrap-cet.mk6
2 files changed, 9 insertions, 3 deletions
diff --git a/config/ChangeLog b/config/ChangeLog
index 02b96ff..d978f41 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,6 +1,12 @@
2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
PR target/85485
+ * bootstrap-cet.mk (STAGE2_CFLAGS): Remove -mcet.
+ (STAGE3_CFLAGS): Likewise.
+
+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>
diff --git a/config/bootstrap-cet.mk b/config/bootstrap-cet.mk
index f09193a6..b5dee60 100644
--- a/config/bootstrap-cet.mk
+++ b/config/bootstrap-cet.mk
@@ -1,4 +1,4 @@
-# This option enables -fcf-protection -mcet for stage2 and stage3.
+# This option enables -fcf-protection for stage2 and stage3.
-STAGE2_CFLAGS += -fcf-protection -mcet
-STAGE3_CFLAGS += -fcf-protection -mcet
+STAGE2_CFLAGS += -fcf-protection
+STAGE3_CFLAGS += -fcf-protection