Enable building libitm with Intel CET
authorIgor Tsimbalist <igor.v.tsimbalist@intel.com>
Fri, 17 Nov 2017 22:59:41 +0000 (23:59 +0100)
committerIgor Tsimbalist <itsimbal@gcc.gnu.org>
Fri, 17 Nov 2017 22:59:41 +0000 (23:59 +0100)
commitc51081fc9f11848aa17d27dfb4224bf2ef32bacc
tree0994081391208ea323516829be75444e885ff12c
parentcc03e55b5aced4f0e948f09d29f116ead8ded943
Enable building libitm with Intel CET

libitm/
* Makefile.in: Regenerate.
* acinclude.m4: Add enable.m4 and cet.m4.
* config/x86/sjlj.S: Include cet.h.
(_ITM_beginTransaction): Add _CET_ENDBR.
Save Shadow Stack pointer.
(GTM_longjmp): Add _CET_ENDBR. Restore Shadow Stack pointer.
* config/x86/target.h (struct gtm_jmpbuf):
Add new field for Shadow Stack pointer.
* configure: Regenerate.
* configure.ac: Set CET_FLAGS. Update XCFLAGS.
* configure.ac: Update libtool_VERSION for x86.
* testsuite/Makefile.in: Regenerate.

From-SVN: r254908
libitm/ChangeLog
libitm/Makefile.in
libitm/acinclude.m4
libitm/config/x86/sjlj.S
libitm/configure
libitm/configure.ac
libitm/testsuite/Makefile.in