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
64
avx_resms64.S
avx_resms64f.S
avx_resms64fx.S
avx_resms64x.S
avx_savms64.S
avx_savms64f.S
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
crti.S
crtn.S
crtprec.c
cygming-crtbegin.c
cygming-crtend.c
cygwin.S
darwin-lib.h
dragonfly-unwind.h
elf-lib.h
enable-execute-stack-mingw32.c
freebsd-unwind.h
gthr-win32.c
gthr-win32.h
i386-asm.h
libgcc-bsd.ver
libgcc-cygming.ver
libgcc-darwin.10.4.ver
libgcc-darwin.10.5.ver
libgcc-glibc.ver
libgcc-sol2.ver
linux-unwind.h
morestack.S
resms64.h
resms64f.h
resms64fx.h
resms64x.h
savms64.h
savms64f.h
sfp-exceptions.c
sfp-machine.h
shadow-stack-unwind.h i386: Remove _Unwind_Frames_Increment 2018-07-27 07:40:47 -07:00
sol2-c1.S
sol2-unwind.h
sse_resms64.S
sse_resms64f.S
sse_resms64fx.S
sse_resms64x.S
sse_savms64.S
sse_savms64f.S
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
t-mingw32
t-mingw-pthread
t-msabi
t-nto
t-seh-eh
t-sjlj-eh
t-slibgcc-cygming
t-softfp
t-sol2
t-stack-i386
value-unwind.h
w32-unwind.h