x86: Also check if -fcf-protection works
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 15 May 2020 16:06:50 +0000 (09:06 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 15 May 2020 16:07:17 +0000 (09:07 -0700)
commit4c1a5d8b71e29b71e0bc1004480c12c5fc427cb7
tree00192b598877094aa647955fecc5997ced114e06
parent0ec52417fd9b3bef5227cdc9a18ff4f0247b0ea4
x86: Also check if -fcf-protection works

When defaulting CET run-time support to auto, check if -fcf-protection
works.  Even if the stage1 GCC doesn't support -fcf-protection, since
the final GCC does, CET run-time support will be enabled by default if
binutils support CET.

config/

PR bootstrap/95147
* cet.m4 (GCC_CET_FLAGS): Also check if -fcf-protection works
when defaulting to auto.

libatomic/

PR bootstrap/95147
* configure: Regenerated.

libbacktrace/

PR bootstrap/95147
* configure: Regenerated.

libgcc/

PR bootstrap/95147
* configure: Regenerated.

libgfortran/

PR bootstrap/95147
* configure: Regenerated.

libgomp/

PR bootstrap/95147
* configure: Regenerated.

libitm/

PR bootstrap/95147
* configure: Regenerated.

libobjc/

PR bootstrap/95147
* configure: Regenerated.

libphobos/

PR bootstrap/95147
* configure: Regenerated.

libquadmath/

PR bootstrap/95147
* configure: Regenerated.

libsanitizer/

PR bootstrap/95147
* configure: Regenerated.

libssp/

PR bootstrap/95147
* configure: Regenerated.

libstdc++-v3/

PR bootstrap/95147
* configure: Regenerated.

libvtv/

PR bootstrap/95147
* configure: Regenerated.

zlib/

PR bootstrap/95147
* configure: Regenerated.
30 files changed:
config/ChangeLog
config/cet.m4
libatomic/ChangeLog
libatomic/configure
libbacktrace/ChangeLog
libbacktrace/configure
libgcc/ChangeLog
libgcc/configure
libgfortran/ChangeLog
libgfortran/configure
libgomp/ChangeLog
libgomp/configure
libitm/ChangeLog
libitm/configure
libobjc/ChangeLog
libobjc/configure
libphobos/ChangeLog
libphobos/configure
libquadmath/ChangeLog
libquadmath/configure
libsanitizer/ChangeLog
libsanitizer/configure
libssp/ChangeLog
libssp/configure
libstdc++-v3/ChangeLog
libstdc++-v3/configure
libvtv/ChangeLog
libvtv/configure
zlib/ChangeLog.gcj
zlib/configure