[Bug d/91628] libdruntime uses glibc internal symbol on s390

fw at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Sep 4 14:48:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91628

--- Comment #10 from Florian Weimer <fw at gcc dot gnu.org> ---
(In reply to rdapp from comment #9)
> I opted for inline assembly to make sure r12 is not changed directly before
> the function call. Do you have an idea to guarantee this in another way?

Wouldn't an out-of-line function in an .S file work?  It's a bit annoying
because makefile changes will be needed, but maybe that's not too bad.

Does D support top-level asm statements?  Then perhaps you could use that to
define an out-of-line function.


More information about the Gcc-bugs mailing list