aarch64: Introduce aarch64-pc-cygwin target support
Adds support for the `aarch64-pc-cygwin` target triplet to the binutils toolchain.
This commit introduces support for the aarch64-pc-cygwin target triplet, enabling the binutils toolchain (including BFD, GAS, and LD) to correctly handle compilation and linking for ARM 64-bit processors targeting the Cygwin environment on a PC. This expansion broadens the cross-compilation capabilities for the aarch64 architecture.
In Details
This patch adds aarch64-*-cygwin* to the configure checks in BFD (config.bfd), binutils (configure, configure.ac), GAS (configure.tgt), and LD (configure.tgt, ld/emultempl/pep.em). This allows the toolchain to correctly build for the aarch64 architecture when targeting the Cygwin POSIX compatibility layer on Windows, specifically enabling PE (Portable Executable) object file generation suitable for this environment.
- aarch64
- The 64-bit execution state of the ARM architecture.
- cygwin
- A POSIX-compatible environment for Windows, providing a Linux-like API and tools for running Unix software on Windows.
- target triplet
- A string that identifies the target architecture, vendor, and operating system for a cross-compilation toolchain (e.g.,
x86_64-linux-gnu). - PE
- Portable Executable. The file format used for executables, object code, and DLLs on 32-bit and 64-bit versions of Windows.
- BFD
- Binary File Descriptor. A library within GNU Binutils that provides a common interface for manipulating various executable file formats, including ELF and PE.
- GAS
- The GNU Assembler, which processes assembly language code and produces object files.
- LD
- The GNU linker, which combines object files and libraries into an executable or shared library.