arm64: Use __builtin_ms_va_list and __attribute__((ms_abi)) on arm64.
commit8fb8cc03c3edb599dd98f369e14a08f899cbff95
authorMartin Storsjo <martin@martin.st>
Wed, 9 May 2018 20:34:57 +0000 (9 23:34 +0300)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 10 May 2018 06:36:58 +0000 (10 08:36 +0200)
treee6754993eaf3956337049c22dfe6014ea17be23e
parent8f46ac233ed96f7286f6aacd1f8fb2626d3ed1c2
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: Martin Storsjo <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
configure
configure.ac
include/msvcrt/crtdefs.h
include/windef.h
include/wine/test.h