diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2020-09-07 15:43:04 +0200 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gdcproject.org> | 2020-09-08 12:14:56 +0200 |
commit | 285d81be9725acc36dc8eca48d4df506cd5e6f6f (patch) | |
tree | f11c13f6fd48555b952d1b3df40522ed8e3eecf6 /gcc/tree-vrp.c | |
parent | cd2d3822ca0f2f743601cc9d048d51f6d326f6a2 (diff) | |
download | gcc-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