summaryrefslogtreecommitdiffstats
path: root/libvtv
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-05-15 09:06:50 -0700
committerH.J. Lu <hjl.tools@gmail.com>2020-05-15 09:07:17 -0700
commit4c1a5d8b71e29b71e0bc1004480c12c5fc427cb7 (patch)
tree00192b598877094aa647955fecc5997ced114e06 /libvtv
parent[Fortran] OpenMP 5 – permit more sharing clauses for SIMD (PR94690) (diff)
downloadgcc-4c1a5d8b71e29b71e0bc1004480c12c5fc427cb7.tar.gz
gcc-4c1a5d8b71e29b71e0bc1004480c12c5fc427cb7.tar.bz2
gcc-4c1a5d8b71e29b71e0bc1004480c12c5fc427cb7.tar.xz
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.
Diffstat (limited to 'libvtv')
-rw-r--r--libvtv/ChangeLog5
-rwxr-xr-xlibvtv/configure3
2 files changed, 8 insertions, 0 deletions
diff --git a/libvtv/ChangeLog b/libvtv/ChangeLog
index 96c417c4042..b50e74be2c7 100644
--- a/libvtv/ChangeLog
+++ b/libvtv/ChangeLog
@@ -1,3 +1,8 @@
12020-05-15 H.J. Lu <hongjiu.lu@intel.com>
2
3 PR bootstrap/95147
4 * configure: Regenerated.
5
12020-05-14 H.J. Lu <hongjiu.lu@intel.com> 62020-05-14 H.J. Lu <hongjiu.lu@intel.com>
2 7
3 * configure: Regenerated. 8 * configure: Regenerated.
diff --git a/libvtv/configure b/libvtv/configure
index 9d42cb88fb2..eced2b23ce0 100755
--- a/libvtv/configure
+++ b/libvtv/configure
@@ -15680,6 +15680,8 @@ case "$host" in
15680 auto) 15680 auto)
15681 # Check if target supports multi-byte NOPs 15681 # Check if target supports multi-byte NOPs
15682 # and if assembler supports CET insn. 15682 # and if assembler supports CET insn.
15683 save_CFLAGS="$CFLAGS"
15684 CFLAGS="$CFLAGS -fcf-protection"
15683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15684/* end confdefs.h. */ 15686/* end confdefs.h. */
15685 15687
@@ -15703,6 +15705,7 @@ else
15703 enable_cet=no 15705 enable_cet=no
15704fi 15706fi
15705rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15707rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15708 CFLAGS="$save_CFLAGS"
15706 ;; 15709 ;;
15707 yes) 15710 yes)
15708 # Check if assembler supports CET. 15711 # Check if assembler supports CET.