From: Zac Walker <zacwal...@microsoft.com> Date: Fri, 1 Mar 2024 01:45:13 +0100 Subject: [PATCH v2 02/13] aarch64: The aarch64-w64-mingw32 target implements the MS ABI
Two ABIs for aarch64 have been defined for different platforms. gcc/ChangeLog: * config/aarch64/aarch64-opts.h (enum aarch64_calling_abi): Define two ABIs. --- gcc/config/aarch64/aarch64-opts.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gcc/config/aarch64/aarch64-opts.h b/gcc/config/aarch64/aarch64-opts.h index a05c0d3ded1..52c9e4596d6 100644 --- a/gcc/config/aarch64/aarch64-opts.h +++ b/gcc/config/aarch64/aarch64-opts.h @@ -131,4 +131,11 @@ enum aarch64_early_ra_scope { AARCH64_EARLY_RA_NONE }; +/* Available call ABIs. */ +enum aarch64_calling_abi +{ + AARCH64_CALLING_ABI_EABI, + AARCH64_CALLING_ABI_MS +}; + #endif -- 2.25.1