[Bug 38780] AArch64 platforms: register X18 (TEB) must remain reserved for Wine to run 64-bit ARM Windows applications ( Distro aarch64 toolchains need '-ffixed-x18' default, loader/libc/userland )
wine-bugs at winehq.org
wine-bugs at winehq.org
Mon Nov 12 14:54:49 CST 2018
https://bugs.winehq.org/show_bug.cgi?id=38780
André H. <nerv at dawncrow.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |martin at martin.st
--- Comment #14 from André H. <nerv at dawncrow.de> ---
(In reply to Zebediah Figura from comment #13)
> Is this something we could fix entirely on the Wine side? I'm not an ARM
> enthusiast (yet), but I guess we could do one of two things:
>
> (1) unconditionally save and restore x18 in the function prologue, and also
> restore it around WINAPI callbacks;
> (2) save and restore it around all inferior function calls.
>
> Both would require modification to GCC, I think, but maybe would be more
> feasible than trying to get distributions to compile everything with
> -ffixed-x18?
Well, rather in clang then.
Martin? :)
Can we add it to the aarch64 ms_abi attribute (maybe only on non-windows
targets)?
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list