gcc/libitm
H.J. Lu ffc2fc06e3 x86: Update __CET__ check
__CET__ has been changed by revision 259522:

commit d59cfa9a40
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

to

    (__CET__ & 1) != 0: -fcf-protection=branch or -fcf-protection=full
    (__CET__ & 2) != 0: -fcf-protection=return or -fcf-protection=full

We should check (__CET__ & 2) != 0 for shadow stack.

libgcc/

	* config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
	when including "config/i386/shadow-stack-unwind.h".

libitm/

	* config/x86/sjlj.S (_ITM_beginTransaction): Add
	(__CET__ & 2) != 0 check for shadow stack.
	(GTM_longjmp): Likewise.

From-SVN: r259621
2018-04-24 15:15:51 -07:00
..
config x86: Update __CET__ check 2018-04-24 15:15:51 -07:00
testsuite Update copyright years. 2018-01-03 11:03:58 +01:00
aatree.cc Update copyright years. 2018-01-03 11:03:58 +01:00
aatree.h Update copyright years. 2018-01-03 11:03:58 +01:00
acinclude.m4 Enable building libitm with Intel CET 2017-11-17 23:59:41 +01:00
aclocal.m4 Disable hwcaps on libgfortran 2016-12-12 13:40:21 +00:00
alloc_c.cc Update copyright years. 2018-01-03 11:03:58 +01:00
alloc_cpp.cc Update copyright years. 2018-01-03 11:03:58 +01:00
alloc.cc Update copyright years. 2018-01-03 11:03:58 +01:00
barrier.cc Update copyright years. 2018-01-03 11:03:58 +01:00
beginend.cc Update copyright years. 2018-01-03 11:03:58 +01:00
ChangeLog x86: Update __CET__ check 2018-04-24 15:15:51 -07:00
clone.cc Update copyright years. 2018-01-03 11:03:58 +01:00
common.h Update copyright years. 2018-01-03 11:03:58 +01:00
config.h.in
configure Regenerate configure of target libraries 2018-04-24 09:45:26 -07:00
configure.ac Update copyright years. 2018-01-03 11:03:58 +01:00
configure.tgt Update copyright years. 2018-01-03 11:03:58 +01:00
containers.h Update copyright years. 2018-01-03 11:03:58 +01:00
dispatch.h Update copyright years. 2018-01-03 11:03:58 +01:00
eh_cpp.cc Update copyright years. 2018-01-03 11:03:58 +01:00
libitm_i.h Update copyright years. 2018-01-03 11:03:58 +01:00
libitm.h Update copyright years. 2018-01-03 11:03:58 +01:00
libitm.map Support __cxa_free_exception and fix exception handling. 2015-11-20 00:10:08 +00:00
libitm.spec.in
libitm.texi gcc.c (process_command): Update copyright notice dates. 2018-01-03 10:17:54 +01:00
local_atomic Update copyright years. 2018-01-03 11:03:58 +01:00
local.cc Update copyright years. 2018-01-03 11:03:58 +01:00
Makefile.am re PR other/79046 (g++ -print-file-name=plugin uses full version number in path) 2017-01-17 10:38:48 +01:00
Makefile.in Enable building libitm with Intel CET 2017-11-17 23:59:41 +01:00
method-gl.cc Update copyright years. 2018-01-03 11:03:58 +01:00
method-ml.cc Update copyright years. 2018-01-03 11:03:58 +01:00
method-serial.cc Update copyright years. 2018-01-03 11:03:58 +01:00
query.cc Update copyright years. 2018-01-03 11:03:58 +01:00
retry.cc Update copyright years. 2018-01-03 11:03:58 +01:00
useraction.cc Update copyright years. 2018-01-03 11:03:58 +01:00
util.cc Update copyright years. 2018-01-03 11:03:58 +01:00