[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
Sun Nov 11 10:17:49 CST 2018
https://bugs.winehq.org/show_bug.cgi?id=38780
Zebediah Figura <z.figura12 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |z.figura12 at gmail.com
--- Comment #13 from Zebediah Figura <z.figura12 at gmail.com> ---
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?
--
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