[PATCH] i386: Add save_stack_nonlocal and restore_stack_nonlocal

H.J. Lu hjl.tools@gmail.com
Thu Apr 19 16:53:00 GMT 2018


On Thu, Apr 19, 2018 at 8:51 AM, Tsimbalist, Igor V
<igor.v.tsimbalist@intel.com> wrote:
>> -----Original Message-----
>> From: Lu, Hongjiu
>> Sent: Sunday, April 15, 2018 12:58 PM
>> To: gcc-patches@gcc.gnu.org
>> Cc: Uros Bizjak <ubizjak@gmail.com>; Tsimbalist, Igor V
>> <igor.v.tsimbalist@intel.com>
>> Subject: [PATCH] i386: Add save_stack_nonlocal and restore_stack_nonlocal
>>
>> Define STACK_SAVEAREA_MODE to hold both shadow stack and stack
>> pointers.
>> Replace builtin_setjmp_setup and builtin_longjmp with save_stack_nonlocal
>> and restore_stack_nonlocal to support both builtin setjmp/longjmp as well
>> as non-local goto in nested functions.
>>
>> OK for trunk?
>
> OK.
>

This is what I checked in.  TARGET_SHSTK is no longer checked for
-fcf-protection.


-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-i386-Add-save_stack_nonlocal-and-restore_stack_nonlo.patch
Type: text/x-patch
Size: 9999 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20180419/70f3a914/attachment.bin>


More information about the Gcc-patches mailing list