aboutsummaryrefslogtreecommitdiff
path: root/ltsugar.m4
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2023-07-02 11:14:08 +0100
committerIain Sandoe <iain@sandoe.co.uk>2023-07-02 15:20:04 +0100
commit6757bf86142a61c7b4ebabb713d17231e86e12f7 (patch)
treee78a8660e61d3c811f6fd8eac7727c7ad0f4fd6b /ltsugar.m4
parent2e06e39a12e5a79bdb72d3c146cc71292f875aed (diff)
downloadgcc-6757bf86142a61c7b4ebabb713d17231e86e12f7.zip
gcc-6757bf86142a61c7b4ebabb713d17231e86e12f7.tar.gz
gcc-6757bf86142a61c7b4ebabb713d17231e86e12f7.tar.bz2
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.
Diffstat (limited to 'ltsugar.m4')
0 files changed, 0 insertions, 0 deletions