From 16fea92ccd993fce6b5b0efebe059d542cad9932 Mon Sep 17 00:00:00 2001 From: Mark Harmstone Date: Thu, 5 Jan 2023 02:36:32 +0000 Subject: Add aarch64-w64-mingw32 target This adds a mingw target for aarch64, including windres and dlltool. Note that the old value of jmp_aarch64_bytes was wrong, and this does the same thing as MSVC does. --- ld/configure.tgt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ld/configure.tgt') diff --git a/ld/configure.tgt b/ld/configure.tgt index aa74d25..4f9a61f 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -118,10 +118,10 @@ aarch64-*-linux*) targ_emul=aarch64linux aarch64-*-haiku*) targ_emul=aarch64haiku targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb armelf_haiku $targ_extra_libpath" ;; -aarch64-*-pe*) +aarch64-*-pe* | aarch64-*-mingw*) targ_emul=aarch64pe targ_extra_emuls="arm64pe" - targ_extra_ofiles="deffilep.o pep-dll-aarch64.o" + targ_extra_ofiles="deffilep.o pep-dll-aarch64.o pe-dll.o" ;; alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu) targ_emul=elf64alpha_fbsd -- cgit v1.1