diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2018-04-24 16:47:24 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2018-04-24 09:47:24 -0700 |
commit | 48f64e053e4069a687410b1970ad85695bc73559 (patch) | |
tree | c32217a550bfef7e2471f543838bc8de4ddcbe16 /gcc | |
parent | 7b47ecf2f76c2ca4755389046a874c1a47f49fe5 (diff) | |
download | gcc-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 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/doc/install.texi | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2992064..478d9bc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +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 diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index 8f4870d..715b1ea 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -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). |