]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Enable mcf thread model for aarch64-*-mingw*.
authorLIU Hao <lh_mouse@126.com>
Thu, 15 May 2025 11:12:51 +0000 (19:12 +0800)
committerJonathan Yong <10walls@gmail.com>
Sun, 25 May 2025 12:04:56 +0000 (12:04 +0000)
This is similar to d6d7afcdbc04adb0ec42a44b2d7e05600945af42 about the posix
and win32 thread model.

Signed-off-by: LIU Hao <lh_mouse@126.com>
Signed-off-by: Jonathan Yong <10walls@gmail.com>
libgcc/ChangeLog:

* config.host: Enable mcf thread model for aarch64-*-mingw*.
* config/i386/t-mingw-mcfgthread: Move to...
* config/mingw/t-mingw-mcfgthread: ...here.

libgcc/config.host
libgcc/config/mingw/t-mingw-mcfgthread [moved from libgcc/config/i386/t-mingw-mcfgthread with 100% similarity]

index 6a88ee5a2dd0b1386b2a5f2fbb579953f8ce9441..d36f0e34a3b6d6b8476a31a84e134f873d00d4d8 100644 (file)
@@ -472,6 +472,9 @@ aarch64-*-mingw*)
          posix)
            tmake_thr_file="mingw/t-mingw-pthread"
            ;;
+         mcf)
+           tmake_thr_file="mingw/t-mingw-mcfgthread"
+           ;;
        esac
        tmake_file="${tmake_file} ${cpu_type}/t-no-eh ${tmake_thr_file}"
        tmake_file="${tmake_file} t-dfprules"
@@ -904,7 +907,7 @@ i[34567]86-*-mingw*)
            tmake_thr_file="mingw/t-mingw-pthread"
            ;;
          mcf)
-           tmake_thr_file="i386/t-mingw-mcfgthread"
+           tmake_thr_file="mingw/t-mingw-mcfgthread"
            ;;
        esac
        # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h
@@ -931,7 +934,7 @@ x86_64-*-mingw*)
            tmake_thr_file="mingw/t-mingw-pthread"
            ;;
          mcf)
-           tmake_thr_file="i386/t-mingw-mcfgthread"
+           tmake_thr_file="mingw/t-mingw-mcfgthread"
            ;;
        esac
        # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h