diff options
author | Zac Walker <zacwalker@microsoft.com> | 2024-03-01 01:40:53 +0100 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2024-05-07 16:02:33 +0000 |
commit | 13bad1ac7a6ea4dbbde67c69d31c218a2f2d7a5d (patch) | |
tree | a404c6fb684bbeec4d0e1bbebc996bf28487492c /gcc | |
parent | 8d2c93fcfe1afc5291bbbe162c3b7ad5764f6d8d (diff) | |
download | gcc-13bad1ac7a6ea4dbbde67c69d31c218a2f2d7a5d.zip gcc-13bad1ac7a6ea4dbbde67c69d31c218a2f2d7a5d.tar.gz gcc-13bad1ac7a6ea4dbbde67c69d31c218a2f2d7a5d.tar.bz2 |
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 <zacwalker@microsoft.com>,
Mark Harmstone <mark@harmstone.com> and
Ron Riddle <ron.riddle@microsoft.com>
Refactored, prepared, and validated by
Radek Barton <radek.barton@microsoft.com> and
Evgeny Karpov <evgeny.karpov@microsoft.com>
fixincludes/ChangeLog:
* mkfixinc.sh: Extend for *-mingw32* targets.
gcc/ChangeLog:
* config.gcc: Add aarch64-w64-mingw32 target.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config.gcc | 13 |
1 files changed, 13 insertions, 0 deletions
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" |