This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 22/22] Enable building libitm with Intel CET


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]