gcc/libphobos/libdruntime
Iain Sandoe 50180d4afc libphobos: Handle Darwin Arm and AArch64 in fibre context asm.
This code currently fails to build because it contains ELF-
specific directives.  This patch excludes those directives when
the platform is Darwin.

We do not expect switching fibres between threads to be safe here
either owing to the possible caching of TLS pointers.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>

libphobos/ChangeLog:

	* libdruntime/config/aarch64/switchcontext.S: Exclude ELF-
	specific constructs for Darwin.
	* libdruntime/config/arm/switchcontext.S: Likewise.
	* libdruntime/core/thread/fiber.d: Disable switching fibres
	between threads.

(cherry picked from commit 6757bf8614)
2023-07-03 13:35:28 +01:00
..
config libphobos: Handle Darwin Arm and AArch64 in fibre context asm. 2023-07-03 13:35:28 +01:00
core libphobos: Handle Darwin Arm and AArch64 in fibre context asm. 2023-07-03 13:35:28 +01:00
gcc libphobos: Add @nogc to gcc.backtrace and gcc.libbacktrace modules. 2023-02-21 15:12:19 +01:00
rt d: Merge upstream dmd, druntime 09faa4eacd, phobos 13ef27a56. 2023-02-21 15:33:38 +01:00
LICENSE.txt d: Import dmd b8384668f, druntime e6caaab9, phobos 5ab9ad256 (v2.098.0-beta.1) 2021-11-30 16:53:28 +01:00
MERGE d: Merge upstream dmd, druntime a45f4e9f43, phobos 106038f2e. 2023-06-26 02:01:07 +02:00
Makefile.am d: Merge upstream dmd, druntime 4ca4140e58, phobos 454dff14d. 2023-03-16 17:29:57 +01:00
Makefile.in d: Merge upstream dmd, druntime 4ca4140e58, phobos 454dff14d. 2023-03-16 17:29:57 +01:00
__builtins.di d: Merge upstream dmd d579c467c1, phobos 88aa69b14. 2022-09-27 10:50:18 +02:00
__main.di Update copyright years. 2023-01-16 11:52:17 +01:00
object.d d: Merge upstream dmd, druntime 4ca4140e58, phobos 454dff14d. 2023-03-16 17:29:57 +01:00