https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90086
--- Comment #1 from ibuclaw at gcc dot gnu.org ---
Author: ibuclaw
Date: Wed Apr 24 22:46:59 2019
New Revision: 270560
URL: https://gcc.gnu.org/viewcvs?rev=270560=gcc=rev
Log:
libphobos: Fix linker warning and SEGV in core.thread tests.
The monolithic core/threadasm.S source has been removed, and split into
multiple parts, one for each intended target CPU/OS.
Added .type and .size directives for all asm implementations of
fiber_switchContent and callWithStackShell where they were missing.
libphobos/ChangeLog:
2019-04-25 Iain Buclaw
PR d/90086
* m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): New macro.
* configure.ac: Use it.
* configure: Regenerate.
* libdruntime/Makefile.am: Add new config sources to
DRUNTIME_SOURCES_CONFIGURED.
* libdruntime/Makefile.in: Regenerate.
* libdruntime/config/aarch64/switchcontext.S: New file.
* libdruntime/config/arm/switchcontext.S: New file.
* libdruntime/config/common/threadasm.S: New file.
* libdruntime/config/mingw/switchcontext.S: New file.
* libdruntime/config/mips/switchcontext.S: New file.
* libdruntime/config/powerpc/switchcontext.S: New file.
* libdruntime/config/powerpc64/callwithstack.S: New file.
* libdruntime/config/x86/switchcontext.S: New file.
* libdruntime/core/threadasm.S: Remove.
Added:
trunk/libphobos/libdruntime/config/
trunk/libphobos/libdruntime/config/aarch64/
trunk/libphobos/libdruntime/config/aarch64/switchcontext.S
trunk/libphobos/libdruntime/config/arm/
trunk/libphobos/libdruntime/config/arm/switchcontext.S
trunk/libphobos/libdruntime/config/common/
trunk/libphobos/libdruntime/config/common/threadasm.S
trunk/libphobos/libdruntime/config/mingw/
trunk/libphobos/libdruntime/config/mingw/switchcontext.S
trunk/libphobos/libdruntime/config/mips/
trunk/libphobos/libdruntime/config/mips/switchcontext.S
trunk/libphobos/libdruntime/config/powerpc/
trunk/libphobos/libdruntime/config/powerpc/switchcontext.S
trunk/libphobos/libdruntime/config/powerpc64/
trunk/libphobos/libdruntime/config/powerpc64/callwithstack.S
trunk/libphobos/libdruntime/config/x86/
trunk/libphobos/libdruntime/config/x86/switchcontext.S
Removed:
trunk/libphobos/libdruntime/core/threadasm.S
Modified:
trunk/libphobos/ChangeLog
trunk/libphobos/configure
trunk/libphobos/configure.ac
trunk/libphobos/libdruntime/Makefile.am
trunk/libphobos/libdruntime/Makefile.in
trunk/libphobos/m4/druntime/cpu.m4