-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
C library: fix use of va_list for AARCH64
This is a fixup to "C model library: Support ARM64 va_list types" that 1) only changed only a subset of the code locations that required change and 2) did so with a crude workaround. Really, we need to abide by ARM's procedure call standard for ARM64, which mandates that `va_list` be a particular struct. See https://github.com/ARM-software/abi-aa/blob/main/aapcs64/aapcs64.rst#definition-of-va-list and https://github.com/ARM-software/abi-aa/blob/main/aapcs64/aapcs64.rst#the-va-arg-macro While at it, also add the necessary define for Visual Studio's support of ARM64. Fixes: #8357
- Loading branch information
1 parent
d87b506
commit 40a3dbb
Showing
2 changed files
with
93 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters