aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2018-07-27 14:40:47 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2018-07-27 07:40:47 -0700
commitb72e71a39c33fac823b8f65f43aa15a8bb0ae676 (patch)
tree4ed990f1e47d2033ac266546efb14492e60ea250 /gcc
parent3d592d2d56ccd3298ea0121de16615d27b9fb659 (diff)
downloadgcc-b72e71a39c33fac823b8f65f43aa15a8bb0ae676.zip
gcc-b72e71a39c33fac823b8f65f43aa15a8bb0ae676.tar.gz
gcc-b72e71a39c33fac823b8f65f43aa15a8bb0ae676.tar.bz2
i386: Remove _Unwind_Frames_Increment
CET kernel has been changed to place a restore token on shadow stack for signal handler to enhance security. It is usually transparent to user programs since kernel will pop the restore token when signal handler returns. But when an exception is thrown from a signal handler, now we need to remove _Unwind_Frames_Increment to pop the the restore token from shadow stack. Otherwise, we get FAIL: g++.dg/torture/pr85334.C -O0 execution test FAIL: g++.dg/torture/pr85334.C -O1 execution test FAIL: g++.dg/torture/pr85334.C -O2 execution test FAIL: g++.dg/torture/pr85334.C -O3 -g execution test FAIL: g++.dg/torture/pr85334.C -Os execution test FAIL: g++.dg/torture/pr85334.C -O2 -flto -fno-use-linker-plugin -flto-partition=none execution test PR libgcc/85334 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment): Removed. From-SVN: r263030
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions