gcc/libgcc/config/i386
H.J. Lu b72e71a39c 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
2018-07-27 07:40:47 -07:00
..
32 Update copyright years. 2018-01-03 11:03:58 +01:00
64
avx_resms64.S PR target/82196 correct choice of avx/sse stubs for -mcall-ms2sysv-xlogues 2017-09-17 22:04:40 +00:00
avx_resms64f.S PR target/82196 correct choice of avx/sse stubs for -mcall-ms2sysv-xlogues 2017-09-17 22:04:40 +00:00
avx_resms64fx.S PR target/82196 correct choice of avx/sse stubs for -mcall-ms2sysv-xlogues 2017-09-17 22:04:40 +00:00
avx_resms64x.S PR target/82196 correct choice of avx/sse stubs for -mcall-ms2sysv-xlogues 2017-09-17 22:04:40 +00:00
avx_savms64.S PR target/82196 correct choice of avx/sse stubs for -mcall-ms2sysv-xlogues 2017-09-17 22:04:40 +00:00
avx_savms64f.S PR target/82196 correct choice of avx/sse stubs for -mcall-ms2sysv-xlogues 2017-09-17 22:04:40 +00:00
cpuinfo.c re PR target/85591 (__builtin_cpu_is() is not detecting bdver2 with Model = 0x02) 2018-05-31 21:45:54 +02:00
cpuinfo.h config.gcc: Support "tremont". 2018-06-07 13:07:05 +02:00
crtfastmath.c Update copyright years. 2018-01-03 11:03:58 +01:00
crti.S Update copyright years. 2018-01-03 11:03:58 +01:00
crtn.S Update copyright years. 2018-01-03 11:03:58 +01:00
crtprec.c Update copyright years. 2018-01-03 11:03:58 +01:00
cygming-crtbegin.c Update copyright years. 2018-01-03 11:03:58 +01:00
cygming-crtend.c Update copyright years. 2018-01-03 11:03:58 +01:00
cygwin.S re PR debug/83917 (with -mcall-ms2sysv-xlogues, stepping into x86 tail-call restore stub gives bad backtrace) 2018-02-28 09:59:15 +01:00
darwin-lib.h Update copyright years. 2018-01-03 11:03:58 +01:00
dragonfly-unwind.h Update copyright years. 2018-01-03 11:03:58 +01:00
elf-lib.h Update copyright years. 2018-01-03 11:03:58 +01:00
enable-execute-stack-mingw32.c Update copyright years. 2018-01-03 11:03:58 +01:00
freebsd-unwind.h Update copyright years. 2018-01-03 11:03:58 +01:00
gthr-win32.c Update copyright years. 2018-01-03 11:03:58 +01:00
gthr-win32.h Update copyright years. 2018-01-03 11:03:58 +01:00
i386-asm.h re PR debug/83917 (with -mcall-ms2sysv-xlogues, stepping into x86 tail-call restore stub gives bad backtrace) 2018-02-28 09:59:15 +01:00
libgcc-bsd.ver Update copyright years. 2018-01-03 11:03:58 +01:00
libgcc-cygming.ver Update copyright years. 2018-01-03 11:03:58 +01:00
libgcc-darwin.10.4.ver Update copyright years. 2018-01-03 11:03:58 +01:00
libgcc-darwin.10.5.ver Update copyright years. 2018-01-03 11:03:58 +01:00
libgcc-glibc.ver Update copyright years. 2018-01-03 11:03:58 +01:00
libgcc-sol2.ver Update copyright years. 2018-01-03 11:03:58 +01:00
linux-unwind.h x86: Update __CET__ check 2018-04-24 15:15:51 -07:00
morestack.S libgcc/CET: Add _CET_ENDBR to __stack_split_initialize 2018-04-19 08:22:27 -07:00
resms64.h Update copyright years. 2018-01-03 11:03:58 +01:00
resms64f.h Update copyright years. 2018-01-03 11:03:58 +01:00
resms64fx.h re PR debug/83917 (with -mcall-ms2sysv-xlogues, stepping into x86 tail-call restore stub gives bad backtrace) 2018-02-26 20:46:34 +01:00
resms64x.h re PR debug/83917 (with -mcall-ms2sysv-xlogues, stepping into x86 tail-call restore stub gives bad backtrace) 2018-02-26 20:46:34 +01:00
savms64.h Update copyright years. 2018-01-03 11:03:58 +01:00
savms64f.h Update copyright years. 2018-01-03 11:03:58 +01:00
sfp-exceptions.c Update copyright years. 2018-01-03 11:03:58 +01:00
sfp-machine.h [libgcc] Remove semicolon after do {} while (0) in FP_HANDLE_EXCEPTIONS 2017-11-07 08:11:43 +00:00
shadow-stack-unwind.h i386: Remove _Unwind_Frames_Increment 2018-07-27 07:40:47 -07:00
sol2-c1.S Update copyright years. 2018-01-03 11:03:58 +01:00
sol2-unwind.h Update copyright years. 2018-01-03 11:03:58 +01:00
sse_resms64.S PR target/82196 correct choice of avx/sse stubs for -mcall-ms2sysv-xlogues 2017-09-17 22:04:40 +00:00
sse_resms64f.S PR target/82196 correct choice of avx/sse stubs for -mcall-ms2sysv-xlogues 2017-09-17 22:04:40 +00:00
sse_resms64fx.S PR target/82196 correct choice of avx/sse stubs for -mcall-ms2sysv-xlogues 2017-09-17 22:04:40 +00:00
sse_resms64x.S PR target/82196 correct choice of avx/sse stubs for -mcall-ms2sysv-xlogues 2017-09-17 22:04:40 +00:00
sse_savms64.S PR target/82196 correct choice of avx/sse stubs for -mcall-ms2sysv-xlogues 2017-09-17 22:04:40 +00:00
sse_savms64f.S PR target/82196 correct choice of avx/sse stubs for -mcall-ms2sysv-xlogues 2017-09-17 22:04:40 +00:00
t-chkstk
t-cpuinfo
t-cpuinfo-static
t-crtpc
t-crtstuff
t-cygming
t-cygwin
t-darwin
t-dlldir
t-dlldir-x
t-dragonfly
t-dw2-eh
t-freebsd
t-gthr-win32
t-linux Enable building libgcc with CET options. 2017-11-17 14:34:39 +01:00
t-mingw32
t-mingw-pthread
t-msabi PR target/82196 correct choice of avx/sse stubs for -mcall-ms2sysv-xlogues 2017-09-17 22:04:40 +00:00
t-nto
t-seh-eh
t-sjlj-eh
t-slibgcc-cygming
t-softfp
t-sol2
t-stack-i386
value-unwind.h Update copyright years. 2018-01-03 11:03:58 +01:00
w32-unwind.h Update copyright years. 2018-01-03 11:03:58 +01:00