Skip to content
Snippets Groups Projects
Commit 8fb8cc03 authored by Martin Storsjö's avatar Martin Storsjö Committed by Alexandre Julliard
Browse files

arm64: Use __builtin_ms_va_list and __attribute__((ms_abi)) on arm64.


Windows uses a different ABI for va_list on arm64 just like on x86_64.

On x86_64, the calling convention for windows functions is completely
different from the one on other platforms. On arm64, they're mostly the
same, with the only exception being variadic functions (where all float
arguments are passed in integer registers, since the va_list is a single
pointer).

Any functions using __builtin_ms_va_start need to be decorated with
__attribute__((ms_abi)).

Signed-off-by: default avatarMartin Storsjo <martin@martin.st>
Signed-off-by: Alexandre Julliard's avatarAlexandre Julliard <julliard@winehq.org>
parent 8f46ac23
Branches
Tags wine-5.0-rc3
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment