[PATCH v2 1/1] aarch64: Introduce aarch64-pc-cygwin target

Jan Beulich jbeulich@suse.com
Thu Nov 5 12:05:49 GMT 2026


On 05.11.2026 12:43, Evgeny Karpov wrote:
> The patch adds support for aarch64-pc-cygwin target.
> 
> Co-authored-by: Radek Barton <radek.barton@microsoft.com>
> ---
>  bfd/config.bfd          | 2 +-
>  binutils/configure      | 2 +-
>  binutils/configure.ac   | 2 +-
>  config.guess            | 3 +++

The change to this file needs to go through the config project, I think.

> --- a/gas/configure.tgt
> +++ b/gas/configure.tgt
> @@ -139,7 +139,7 @@ case ${generic_target} in
>    aarch64*-*-nto*)			fmt=elf;;
>    aarch64*-*-openbsd*)			fmt=elf;;
>    aarch64*-*-phoenix*)			fmt=elf;;
> -  aarch64*-*-pe* | aarch64*-*-mingw*)	fmt=coff em=pepaarch64 ;;
> +  aarch64*-*-pe* | aarch64*-*-mingw* | aarch64*-*-cygwin*)	fmt=coff em=pepaarch64 ;;
>    alpha-*-*vms*)			fmt=evax ;;
>    alpha-*-osf*)				fmt=ecoff ;;
>    alpha-*-linux*ecoff*)			fmt=ecoff ;;

This sadly still isn't in line with how other long lines are being dealt with
here. Ftoad, aiui it wants to be

  aarch64*-*-phoenix*)			fmt=elf;;
  aarch64*-*-pe* | aarch64*-*-mingw* | aarch64*-*-cygwin*)
					fmt=coff em=pepaarch64 ;;

i.e. as indicated previously, the fmt= aligning with one another. With
that adjustment: Okay for the non-gdb, non-config parts of the change.

Jan


More information about the Binutils mailing list