This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] CET shouldn't be enabled in 32-bit run-time libraries by defualt
- From: Jeff Law <law at redhat dot com>
- To: "Tsimbalist, Igor V" <igor dot v dot tsimbalist at intel dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 16 Feb 2018 16:45:00 -0700
- Subject: Re: [PATCH] CET shouldn't be enabled in 32-bit run-time libraries by defualt
- Authentication-results: sourceware.org; auth=none
- References: <D511F25789BA7F4EBA64C8A63891A00291FB3DDA@IRSMSX102.ger.corp.intel.com>
On 02/14/2018 06:49 AM, Tsimbalist, Igor V wrote:
> ENDBR32 and RDSSPD are multi-byte NOPs on x86-64 processors and
> newer x86 processors, starting Pentium Pro. They are UD on older 32-bit
> processors. Detect this at configure time and adjust the default value
> for enable_cet. GCC will enable CET in 32-bit run-time libraries in any case
> if --enable-cet is used to configure GCC.
>
> OK for trunk?
OK.
jeff