Commit 48f64e05 by H.J. Lu Committed by H.J. Lu

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
parent 7b47ecf2
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>
......
# 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
2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
PR target/85485
* doc/install.texi: Remove -mcet from bootstrap-cet.
2018-04-24 Jakub Jelinek <jakub@redhat.com>
PR target/85511
......
......@@ -2519,7 +2519,7 @@ must be used along with @code{bootstrap-debug-lean} and
@item @samp{bootstrap-cet}
This option enables Intel CET for host tools during bootstrapping.
@samp{BUILD_CONFIG=bootstrap-cet} is equivalent to adding
@option{-fcf-protection -mcet} to @samp{BOOT_CFLAGS}. This option
@option{-fcf-protection} to @samp{BOOT_CFLAGS}. This option
assumes that the host supports Intel CET (e.g. GNU assembler version
2.30 or later).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment