diff options
author | Sergey Bugaev <bugaevc@gmail.com> | 2024-01-01 14:53:09 +0300 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2024-01-08 09:51:58 +0000 |
commit | 950b68acd41db8383c98a48607741771a9131127 (patch) | |
tree | abf92999ae0067bfa20f83ece2ab35ad471ae19f /gas | |
parent | 09f5e4ed86bfa9a08f35a059fe978cf2211c7b3e (diff) | |
download | fsf-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 'gas')
-rw-r--r-- | gas/configure.tgt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gas/configure.tgt b/gas/configure.tgt index e1e6ce0..7c66734 100644 --- a/gas/configure.tgt +++ b/gas/configure.tgt @@ -134,6 +134,7 @@ case ${generic_target} in case ${cpu}-${os} in aarch64*-linux-gnu_ilp32) arch=aarch64:32 ;; esac ;; + aarch64*-*-gnu*) fmt=elf em=gnu ;; aarch64*-*-netbsd*) fmt=elf em=nbsd;; aarch64*-*-nto*) fmt=elf;; aarch64*-*-openbsd*) fmt=elf;; |