This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 22/22] Enable building libitm with Intel CET
- 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>
- Cc: "triegel at redhat dot com" <triegel at redhat dot com>
- Date: Wed, 8 Nov 2017 10:42:56 -0700
- Subject: Re: [PATCH 22/22] Enable building libitm with Intel CET
- Authentication-results: sourceware.org; auth=none
- References: <D511F25789BA7F4EBA64C8A63891A00291F53AB3@IRSMSX102.ger.corp.intel.com>
On 11/07/2017 09:28 AM, Tsimbalist, Igor V wrote:
> Enable building libitm with Intel CET. The patch is based on previous patch [PATCH 21/22] Add extra field to gtm_jmpbuf on x86 only.
>
> Ok for trunk?
>
> Igor
>
>
> 0022-Enable-building-libitm-with-Intel-CET.PATCH
>
>
> From 2a83369b28b279aed2d6fd110bb35ef65761677a Mon Sep 17 00:00:00 2001
> From: Igor Tsimbalist <igor.v.tsimbalist@intel.com>
> Date: Tue, 7 Nov 2017 17:07:33 +0300
> Subject: [PATCH 22/22] 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.
I'm going to assume the bits to compute the number of skipped frames is
reasonble.
OK to commit when the series as a whole is approved.
jeff