forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
@@ -463,6 +463,9 @@ write_coff_file (const char *filename, const char *target,
|
||||
#elif defined DLLTOOL_ARM
|
||||
if (! bfd_set_arch_mach (abfd, bfd_arch_arm, 0))
|
||||
bfd_fatal ("bfd_set_arch_mach(arm)");
|
||||
#elif defined DLLTOOL_AARCH64
|
||||
if (! bfd_set_arch_mach (abfd, bfd_arch_aarch64, 0))
|
||||
bfd_fatal ("bfd_set_arch_mach(aarch64)");
|
||||
#else
|
||||
/* FIXME: This is obviously i386 specific. */
|
||||
if (! bfd_set_arch_mach (abfd, bfd_arch_i386, 0))
|
||||
|
||||
Reference in New Issue
Block a user