> Hi, below is a long existing patch in MSYS2's MINGW GCC, and I'm upstreaming > it because I think it's actually needed by all Windows targets, not only > MSYS2 / mingw-w64.
No, it's actually needed by none of them, since GNU ld can directly link to DLLs, see the GNU ld manual section 6.15 for a complete exposition, and we do not use dllimport/dllexport decoration in Ada. -- Eric Botcazou
