From 13bad1ac7a6ea4dbbde67c69d31c218a2f2d7a5d Mon Sep 17 00:00:00 2001 From: Zac Walker Date: Fri, 1 Mar 2024 01:40:53 +0100 Subject: Introduce aarch64-w64-mingw32 target Add the initial aarch64-w64-mingw32 target for gcc. This is the first commit in a sequence of patch series to add new aarch64-w64-mingw32 target. Coauthors: Zac Walker , Mark Harmstone and Ron Riddle Refactored, prepared, and validated by Radek Barton and Evgeny Karpov fixincludes/ChangeLog: * mkfixinc.sh: Extend for *-mingw32* targets. gcc/ChangeLog: * config.gcc: Add aarch64-w64-mingw32 target. --- gcc/config.gcc | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'gcc') diff --git a/gcc/config.gcc b/gcc/config.gcc index 65bbe9e..0a737bf3 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -1270,6 +1270,19 @@ aarch64*-*-gnu*) tmake_file="${tmake_file} aarch64/t-aarch64" tm_defines="${tm_defines} TARGET_DEFAULT_ASYNC_UNWIND_TABLES=1" ;; +aarch64-*-mingw*) + tmake_file="${tmake_file} aarch64/t-aarch64" + case ${enable_threads} in + "" | yes | win32) + thread_file='win32' + ;; + posix) + thread_file='posix' + ;; + esac + default_use_cxa_atexit=yes + user_headers_inc_next_post="${user_headers_inc_next_post} float.h" + ;; aarch64*-wrs-vxworks*) tm_file="${tm_file} elfos.h aarch64/aarch64-elf.h" tm_file="${tm_file} vx-common.h vxworks.h aarch64/aarch64-vxworks.h" -- cgit v1.1