]> git.ipfire.org Git - thirdparty/gcc.git/commit - libitm/ChangeLog
Add extra field to gtm_jmpbuf on x86 only
authorIgor Tsimbalist <igor.v.tsimbalist@intel.com>
Fri, 17 Nov 2017 22:57:07 +0000 (23:57 +0100)
committerIgor Tsimbalist <itsimbal@gcc.gnu.org>
Fri, 17 Nov 2017 22:57:07 +0000 (23:57 +0100)
commitcc03e55b5aced4f0e948f09d29f116ead8ded943
tree0ff8632cc51a62f1347e564e5a2d05329e0aee43
parent7cac54fb0dffd050963e122e79f042f4c2f000c0
Add extra field to gtm_jmpbuf on x86 only

Expand the gtm_jmpbuf structure by one word field to add
Intel CET support further. The code in sjlj.S already
allocates more space on the stack then gtm_jmpbuf needs.
Use this extra space to absorb the new field.

The structure is allocated on the stack in such a way
that eip/rsp field is overlapped with return address on
the stack. Locate the new field right before eip/rsp so
code that accesses buffer fields relative to address of
gtm_jmpbuf has its offsets unchanged.

* libitm/config/x86/target.h: Add new field (ssp).
* libitm/config/x86/sjlj.S: Change offsets.

From-SVN: r254907
libitm/ChangeLog
libitm/config/x86/sjlj.S
libitm/config/x86/target.h