gcc/libphobos/libdruntime
Iain Buclaw 285d81be97 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.
2020-09-08 12:14:56 +02:00
..
config libphobos: libdruntime doesn't support shadow stack (PR95680) 2020-09-08 12:14:56 +02:00
core libphobos: libdruntime doesn't support shadow stack (PR95680) 2020-09-08 12:14:56 +02:00
gc libphobos: Merge upstream druntime 94686651 2019-08-21 07:54:19 +00:00
gcc libphobos: libdruntime doesn't support shadow stack (PR95680) 2020-09-08 12:14:56 +02:00
rt d: Turn on deprecation warnings by default. 2020-06-25 17:02:45 +02:00
__entrypoint.di Update copyright years. 2020-01-01 12:51:42 +01:00
__main.di Update copyright years. 2020-01-01 12:51:42 +01:00
LICENSE
Makefile.am d: Merge upstream dmd 934df6f8c, druntime 7bdd83d7 2020-04-30 12:16:11 +02:00
Makefile.in libphobos: libdruntime doesn't support shadow stack (PR95680) 2020-09-08 12:14:56 +02:00
MERGE d: Turn on deprecation warnings by default. 2020-06-25 17:02:45 +02:00
object.d re PR d/90079 (SEGV in _aaKeys, _aaValues on 32-bit SPARC) 2019-04-23 15:19:55 +00:00