Enable building libitm with Intel CET

Programming / Compilers / GCC - itsimbal [138bc75d-0d04-0410-961f-82ee72b054a4] - 17 November 2017 22:59 EST

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.

18b93198746 Enable building libitm with Intel CET
libitm/ChangeLog | 15 +++++++++
libitm/Makefile.in | 2 +-
libitm/acinclude.m4 | 1 +
libitm/config/x86/sjlj.S | 67 ++++++++++++++++++++++++++++++++++++++
libitm/configure | 76 ++++++++++++++++++++++++++++++++++++++++++--
libitm/configure.ac | 4 +++
libitm/testsuite/Makefile.in | 2 +-
7 files changed, 163 insertions(+), 4 deletions(-)

Upstream: gcc.gnu.org


  • Share