aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2024-01-01 14:53:09 +0300
committerNick Clifton <nickc@redhat.com>2024-01-08 09:51:58 +0000
commit950b68acd41db8383c98a48607741771a9131127 (patch)
treeabf92999ae0067bfa20f83ece2ab35ad471ae19f /bfd
parent09f5e4ed86bfa9a08f35a059fe978cf2211c7b3e (diff)
downloadfsf-binutils-gdb-950b68acd41db8383c98a48607741771a9131127.zip
fsf-binutils-gdb-950b68acd41db8383c98a48607741771a9131127.tar.gz
fsf-binutils-gdb-950b68acd41db8383c98a48607741771a9131127.tar.bz2
Add support for the aarch64-gnu target (GNU/Hurd on AArch64)
Also recognized are aarch64-*-gnu tagrets, e.g. aarch64-pc-gnu or aarch64-unknown-gnu. The ld/emulparams/aarch64gnu.sh file is (for now) identical to aarch64fbsd.sh, or to aarch64linux.sh with Linux-specific logic removed; and mainly different from the generic aarch64elf.sh in that it does not set EMBEDDED=yes. Coupled with a corresponding GCC patch, this produces a toolchain that can sucessfully build working binaries targeting aarch64-gnu. Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
Diffstat (limited to 'bfd')
-rw-r--r--bfd/config.bfd2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/config.bfd b/bfd/config.bfd
index d50a12a..bbf1244 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -284,7 +284,7 @@ case "${targ}" in
targ_selvecs="aarch64_elf64_be_vec aarch64_elf32_le_vec aarch64_elf32_be_vec arm_elf32_le_vec arm_elf32_be_vec"
want64=true
;;
- aarch64-*-linux* | aarch64-*-netbsd* | aarch64-*-nto*)
+ aarch64-*-linux* | aarch64-*-netbsd* | aarch64-*-nto* | aarch64-*-gnu*)
targ_defvec=aarch64_elf64_le_vec
targ_selvecs="aarch64_elf64_be_vec aarch64_elf32_le_vec aarch64_elf32_be_vec arm_elf32_le_vec arm_elf32_be_vec aarch64_pei_le_vec aarch64_pe_le_vec"
want64=true