I am resubmitting the patch series without changes to the patchwork due to an issue with the mail client in the previous submission. https://gcc.gnu.org/pipermail/gcc-patches/2024-June/653894.html https://gcc.gnu.org/pipermail/gcc-patches/2024-June/653952.html
Regards, Evgeny Evgeny Karpov (6): Move mingw_* declarations to the mingw folder Extract ix86 dllimport implementation to mingw Rename functions for reuse in AArch64 aarch64: Add selectany attribute handling Adjust DLL import/export implementation for AArch64 aarch64: Add DLL import/export to AArch64 target gcc/config.gcc | 20 ++- gcc/config/aarch64/aarch64-protos.h | 5 - gcc/config/aarch64/aarch64.cc | 42 ++++- gcc/config/aarch64/cygming.h | 33 +++- gcc/config/i386/cygming.h | 16 +- gcc/config/i386/i386-expand.cc | 4 +- gcc/config/i386/i386-expand.h | 2 - gcc/config/i386/i386-protos.h | 10 -- gcc/config/i386/i386.cc | 205 ++---------------------- gcc/config/i386/i386.h | 2 + gcc/config/mingw/mingw32.h | 2 +- gcc/config/mingw/t-cygming | 6 + gcc/config/mingw/winnt-dll.cc | 231 ++++++++++++++++++++++++++++ gcc/config/mingw/winnt-dll.h | 30 ++++ gcc/config/mingw/winnt.cc | 10 +- gcc/config/mingw/winnt.h | 38 +++++ 16 files changed, 423 insertions(+), 233 deletions(-) create mode 100644 gcc/config/mingw/winnt-dll.cc create mode 100644 gcc/config/mingw/winnt-dll.h create mode 100644 gcc/config/mingw/winnt.h -- 2.25.1