Re: [PATCH] CET shouldn't be enabled in 32-bit run-time libraries by defualt

2018-02-16 Thread Jeff Law
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 C

[PATCH] CET shouldn't be enabled in 32-bit run-time libraries by defualt

2018-02-14 Thread Tsimbalist, Igor V
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-ce