diff --git a/config/ChangeLog b/config/ChangeLog index 02b96ffac465f9f69bbb6c7b464f6a0f4eb6e15f..d978f41f4bede5998f44cd8e78eb885e86786098 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,9 @@ +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 diff --git a/config/bootstrap-cet.mk b/config/bootstrap-cet.mk index f09193a6dea720e4a1f67c4c4718d17d7db90fdc..b5dee601a3f692a3ebc85160f08cebd7db6f3671 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 diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 299206492a7d93aed58621e04df818efe8fe271e..478d9bcd28a4ede367b13d22e762dd4f636c5db3 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 8f4870d7e28084d2ed0780b2d84c1a8870227f82..715b1eae0debbff227493ddf4dcd4c3bc4e1357e 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).