aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vrp.c
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2020-09-07 15:43:04 +0200
committerIain Buclaw <ibuclaw@gdcproject.org>2020-09-08 12:14:56 +0200
commit285d81be9725acc36dc8eca48d4df506cd5e6f6f (patch)
treef11c13f6fd48555b952d1b3df40522ed8e3eecf6 /gcc/tree-vrp.c
parentcd2d3822ca0f2f743601cc9d048d51f6d326f6a2 (diff)
downloadgcc-285d81be9725acc36dc8eca48d4df506cd5e6f6f.zip
gcc-285d81be9725acc36dc8eca48d4df506cd5e6f6f.tar.gz
gcc-285d81be9725acc36dc8eca48d4df506cd5e6f6f.tar.bz2
libphobos: libdruntime doesn't support shadow stack (PR95680)
Rather than implementing support within D runtime itself, use libc getcontext/swapcontext functions if CET is enabled. Removes whatever CET support was in the switchContext routine for x86 D runtime, along with setting version AsmExternal, so that the fallback ucontext_t implementation is used, which is capable of doing shadow stack handling. libphobos/ChangeLog: PR d/95680 * Makefile.in: Regenerate. * configure: Regenerate. * configure.ac (DCFG_ENABLE_CET): Substitute. * libdruntime/Makefile.in: Regenerate. * libdruntime/config/x86/switchcontext.S: Remove CET support code. * libdruntime/core/thread.d: Import gcc.config. Don't set version AsmExternal when GNU_Enable_CET is true. * libdruntime/gcc/config.d.in (GNU_Enable_CET): Define. * src/Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate.
Diffstat (limited to 'gcc/tree-vrp.c')
0 files changed, 0 insertions, 0 deletions