]> gcc.gnu.org Git - gcc.git/commit
libphobos: Fix build fails for powerpc-linux
authorIain Buclaw <ibuclaw@gdcproject.org>
Tue, 20 Apr 2021 23:15:33 +0000 (01:15 +0200)
committerIain Buclaw <ibuclaw@gdcproject.org>
Wed, 21 Apr 2021 00:27:49 +0000 (02:27 +0200)
commitea7b1cf534a7a653e1221bcd9004c2d0f5418e88
tree825ff7ba151cace25c260779968411505fa62a0e
parentbe8aad8d73f47e2581c873ba1069489e071c2a86
libphobos: Fix build fails for powerpc-linux

As register names are required for darwin, but not accepted by gas
unless you use `-mregnames', they have been conditionally removed on
non-darwin targets.

To avoid duplicating large blocks of almost identical code, the inline
assembly is now statically generated.

libphobos/ChangeLog:

* libdruntime/core/thread/osthread.d (callWithStackShell): Statically
generate PPC and PPC64 asm implementations, and conditionally remove
PPC register names on non-Darwin targets.
libphobos/libdruntime/core/thread/osthread.d
This page took 0.06091 seconds and 5 git commands to generate.