From: Evgeny Karpov Date: Tue, 19 May 2026 16:41:32 +0000 (+0000) Subject: aarch64: mingw: Enable init priority order X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d17fa457242e0ca1a304c8fc953f778dcfe02c7;p=thirdparty%2Fgcc.git 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 --git a/gcc/config/aarch64/aarch64-coff.h b/gcc/config/aarch64/aarch64-coff.h index aef07e62a9f..6d4c7927c7d 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