aboutsummaryrefslogtreecommitdiff
path: root/config/cet.m4
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2018-06-18 09:32:39 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2018-06-18 09:33:48 -0400
commit37f980dc03cc85795ea2e4de4ca69d3d7d1153c7 (patch)
tree2c802c52b45c0b279f6d9718487f2264f80ad233 /config/cet.m4
parent77236b8349e95c869179b1efa4e6c2ee5c878141 (diff)
downloadgdb-37f980dc03cc85795ea2e4de4ca69d3d7d1153c7.zip
gdb-37f980dc03cc85795ea2e4de4ca69d3d7d1153c7.tar.gz
gdb-37f980dc03cc85795ea2e4de4ca69d3d7d1153c7.tar.bz2
config: Sync with GCC
... and re-generate all possible configure files, since they may depend on things in config/. config/ChangeLog: Sync with GCC 2018-06-08 Martin Liska <mliska@suse.cz> * bootstrap-mpx.mk: Remove. 2018-05-10 Martin Liska <mliska@suse.cz> PR bootstrap/64914 * bootstrap-ubsan.mk: Define UBSAN_BOOTSTRAP. 2018-05-09 Joshua Watt <jpewhacker@gmail.com> * ax_pthread.m4: Add file. 2018-05-08 Richard Biener <rguenther@suse.de> PR bootstrap/85571 * bootstrap-lto-noplugin.mk: Disable compare. * bootstrap-lto.mk: Supply contrib/compare-lto for do-compare. 2018-04-24 H.J. Lu <hongjiu.lu@intel.com> PR bootstrap/85490 * bootstrap-cet.mk (STAGE4_CFLAGS): New. 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> * cet.m4 (GCC_CET_FLAGS): Default to --disable-cet, replace --enable-cet=default with --enable-cet=auto. 2018-04-18 David Malcolm <dmalcolm@redhat.com> PR jit/85384 * acx.m4 (GCC_BASE_VER): Remove \$\$ from sed expression.
Diffstat (limited to 'config/cet.m4')
-rw-r--r--config/cet.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/config/cet.m4 b/config/cet.m4
index 23dd1f7..b53c1bb 100644
--- a/config/cet.m4
+++ b/config/cet.m4
@@ -3,14 +3,14 @@ dnl GCC_CET_FLAGS
dnl (SHELL-CODE_HANDLER)
dnl
AC_DEFUN([GCC_CET_FLAGS],[dnl
-GCC_ENABLE(cet, default, ,[enable Intel CET in target libraries],
- permit yes|no|default)
+GCC_ENABLE(cet, no, ,[enable Intel CET in target libraries],
+ permit yes|no|auto)
AC_MSG_CHECKING([for CET support])
case "$host" in
i[[34567]]86-*-linux* | x86_64-*-linux*)
case "$enable_cet" in
- default)
+ auto)
# Check if target supports multi-byte NOPs
# and if assembler supports CET insn.
AC_COMPILE_IFELSE(
@@ -42,7 +42,7 @@ asm ("setssbsy");
;;
esac
if test x$enable_cet = xyes; then
- $1="-fcf-protection -mcet"
+ $1="-fcf-protection -mshstk"
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])