@@ -1272,6 +1272,36 @@ aarch64*-*-gnu*)
12721272 tmake_file="${tmake_file} aarch64/t-aarch64"
12731273 tm_defines="${tm_defines} TARGET_DEFAULT_ASYNC_UNWIND_TABLES=1"
12741274 ;;
1275+ aarch64-*-cygwin*)
1276+ tm_file="${tm_file} aarch64/aarch64-abi-ms.h"
1277+ tm_file="${tm_file} aarch64/aarch64-coff.h"
1278+ tm_file="${tm_file} aarch64/cygming.h"
1279+ tm_file="${tm_file} i386/cygwin.h"
1280+ tm_file="${tm_file} i386/cygwin-w64.h"
1281+ tm_file="${tm_file} i386/cygwin-stdint.h"
1282+ tm_file="${tm_file} mingw/winnt.h"
1283+ tm_file="${tm_file} mingw/winnt-dll.h"
1284+ xm_file=i386/xm-cygwin.h
1285+ tmake_file="${tmake_file} aarch64/t-aarch64"
1286+ tmake_file="${tmake_file} mingw/t-cygming t-slibgcc"
1287+ target_gtfiles="$target_gtfiles \$(srcdir)/config/mingw/winnt.cc"
1288+ target_gtfiles="$target_gtfiles \$(srcdir)/config/mingw/winnt-dll.cc"
1289+ extra_options="${extra_options} mingw/cygming.opt i386/cygwin.opt"
1290+ extra_objs="${extra_objs} winnt.o winnt-dll.o"
1291+ c_target_objs="${c_target_objs} msformat-c.o"
1292+ cxx_target_objs="${cxx_target_objs} winnt-cxx.o msformat-c.o"
1293+ d_target_objs="${d_target_objs} cygwin-d.o"
1294+ target_has_targetdm="yes"
1295+ aarch64_multilibs="llp64"
1296+ if test x$enable_threads = xyes; then
1297+ thread_file='posix'
1298+ fi
1299+ default_use_cxa_atexit=yes
1300+ use_gcc_stdint=wrap
1301+ tm_defines="${tm_defines} TARGET_64BIT=1 TARGET_CYGWIN64=1 TARGET_64BIT_MS_ABI=1 TARGET_AARCH64_MS_ABI=1"
1302+ TM_MULTILIB_CONFIG="${TM_MULTILIB_CONFIG},llp64"
1303+ TM_MULTILIB_CONFIG=`echo $TM_MULTILIB_CONFIG | sed 's/^,//'`
1304+ ;;
12751305aarch64-*-mingw*)
12761306 tm_file="${tm_file} aarch64/aarch64-abi-ms.h"
12771307 tm_file="${tm_file} aarch64/aarch64-coff.h"
0 commit comments