[PATCH] ntdll: Make the Unix syscall entry points use the SysV ABI.

Alexandre Julliard julliard at winehq.org
Mon Sep 27 05:49:31 CDT 2021


Zebediah Figura <zfigura at codeweavers.com> writes:

> Note also that the definition of WINE_SYSCALL is guarded by _NTSYSTEM_. This
> looks like it breaks import from Unix libraries, but in practice the only Unix
> library to import Nt* syscalls defines _NTSYSTEM_. This seems a bit fragile to
> me, but the current state looks already fragile, so I'm leaving it alone in this
> patch, for now...

Unix libraries that use the new __wine_unix_call scheme can link
directly to ntdll functions, and would need the same treatment.

I was planning to do something like this once the Unix lib transition is
complete, but I think right now it's a bit premature.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list