https://gcc.gnu.org/g:3d17fa457242e0ca1a304c8fc953f778dcfe02c7
commit r17-825-g3d17fa457242e0ca1a304c8fc953f778dcfe02c7 Author: Evgeny Karpov <[email protected]> Date: Tue May 19 16:41:32 2026 +0000 aarch64: mingw: Enable init priority order The patch enables init priority, which is needed for winpthreads and supported now by aarch64-w64-mingw32. This change allows building aarch64-w64-mingw32 from upstream binutils/gcc/mingw repos. gcc/ChangeLog: * config/aarch64/aarch64-coff.h (SUPPORTS_INIT_PRIORITY): Enable SUPPORTS_INIT_PRIORITY by default. Diff: --- gcc/config/aarch64/aarch64-coff.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/gcc/config/aarch64/aarch64-coff.h b/gcc/config/aarch64/aarch64-coff.h index aef07e62a9f7..6d4c7927c7dc 100644 --- a/gcc/config/aarch64/aarch64-coff.h +++ b/gcc/config/aarch64/aarch64-coff.h @@ -70,7 +70,4 @@ #define GLOBAL_ASM_OP "\t.global\t" -#undef SUPPORTS_INIT_PRIORITY -#define SUPPORTS_INIT_PRIORITY 0 - #endif
