aboutsummaryrefslogtreecommitdiff
path: root/gcc/common
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2018-04-24 16:56:04 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2018-04-24 09:56:04 -0700
commit231baae28ef7ff784683fa5a80df119da2b9a99b (patch)
tree3852c21cf39e6d4417123ff1080f0a46547068fe /gcc/common
parentd16d033bf98547bf9d616d4f877b795eeefc6f02 (diff)
downloadgcc-231baae28ef7ff784683fa5a80df119da2b9a99b.zip
gcc-231baae28ef7ff784683fa5a80df119da2b9a99b.tar.gz
gcc-231baae28ef7ff784683fa5a80df119da2b9a99b.tar.bz2
x86/CET: Remove the -mcet command-lint option
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 depens on -mcet and with revision 259522: commit d59cfa9a4064339cf2bd2da828c4c133f13e57f0 Author: hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Fri Apr 20 13:30:13 2018 +0000 Define __CET__ for -fcf-protection and remove -mibt -mcet becomes an alias for -mshstk. Since all usages of -mcet and -mno-cet have either been removed or replaced, we can remove the -mcet command-lint option. PR target/85485 * common/config/i386/i386-common.c (ix86_handle_option): Don't handle OPT_mcet. * config/i386/i386.opt (mcet): Removed. * doc/install.texi: Remove -mcet documentation. * doc/invoke.texi: Likewise. From-SVN: r259613
Diffstat (limited to 'gcc/common')
-rw-r--r--gcc/common/config/i386/i386-common.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/common/config/i386/i386-common.c b/gcc/common/config/i386/i386-common.c
index 74a3490..2629ae6 100644
--- a/gcc/common/config/i386/i386-common.c
+++ b/gcc/common/config/i386/i386-common.c
@@ -543,7 +543,6 @@ ix86_handle_option (struct gcc_options *opts,
}
return true;
- case OPT_mcet:
case OPT_mshstk:
if (value)
{