https://gcc.gnu.org/g:6c11f24532c618a00dd41649af62f76e6282b966
commit r15-5458-g6c11f24532c618a00dd41649af62f76e6282b966 Author: Evgeny Karpov <evgeny.kar...@microsoft.com> Date: Fri Nov 1 17:47:15 2024 +0100 aarch64: Bypass hidden attribute warnings in MinGW The patch bypasses hidden attribute warnings in MinGW until it is implemented. libgcc/ChangeLog: * config.host: Update. * config/aarch64/t-mingw: New. Diff: --- libgcc/config.host | 1 + libgcc/config/aarch64/t-mingw | 2 ++ 2 files changed, 3 insertions(+) diff --git a/libgcc/config.host b/libgcc/config.host index 06fae1545b18..51471cdd8bba 100644 --- a/libgcc/config.host +++ b/libgcc/config.host @@ -479,6 +479,7 @@ aarch64-*-mingw*) tmake_file="${tmake_file} ${cpu_type}/t-no-eh ${tmake_thr_file}" tmake_file="${tmake_file} t-dfprules" tmake_file="${tmake_file} ${cpu_type}/t-aarch64" + tmake_file="${tmake_file} ${cpu_type}/t-mingw" tmake_file="${tmake_file} ${cpu_type}/t-lse" tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp t-crtfm" ;; diff --git a/libgcc/config/aarch64/t-mingw b/libgcc/config/aarch64/t-mingw new file mode 100644 index 000000000000..a72a2f701774 --- /dev/null +++ b/libgcc/config/aarch64/t-mingw @@ -0,0 +1,2 @@ +# Bypass hidden attribute warnings in MinGW until it is implemented +LIBGCC2_CFLAGS += -Wno-error=attributes