Hello, This patch series adds SEH, stack unwinding and C++ exceptions implementation to the aarch64-w64-mingw32 target. The patch series is based on "[PATCH v3 0/8] SMALL code model fixes, optimization fixes, LTO, and minimal C++ enablement" patch series, which should be merged next week. https://gcc.gnu.org/pipermail/gcc-patches/2024-November/668484.html
This patch series is supported by the binutils patch series, which will be posted next week and a link will be provided. Prepared, refactored and validated by Radek Barton <radek.bar...@microsoft.com>, Martin Vejbora (Microsoft) and Evgeny Karpov <evgeny.kar...@microsoft.com> Coauthors: Zac Walker <zacwal...@microsoft.com> and Ron Riddle <ron.rid...@microsoft.com> Regards, Evgeny Evgeny Karpov (4): aarch64: Bypass some warnings in MinGW aarch64: Add stdcall and cdecl attributes Rename SEH functions for reuse in AArch64 aarch64: Add SEH, stack unwinding and C++ exceptions gcc/common/config/aarch64/aarch64-common.cc | 30 +++ gcc/config/aarch64/aarch64.cc | 17 ++ gcc/config/aarch64/cygming.h | 51 +++- gcc/config/i386/cygming.h | 14 +- gcc/config/i386/i386-protos.h | 7 - gcc/config/mingw/winnt.cc | 282 +++++++++++++++++++- gcc/config/mingw/winnt.h | 8 + libgcc/config.host | 6 +- libgcc/config/aarch64/t-mingw | 2 +- libgcc/config/{i386 => mingw}/t-seh-eh | 0 libgcc/unwind-seh.c | 37 ++- 11 files changed, 413 insertions(+), 41 deletions(-) rename libgcc/config/{i386 => mingw}/t-seh-eh (100%) -- 2.34.1