aboutsummaryrefslogtreecommitdiff
path: root/ld/configure.tgt
diff options
context:
space:
mode:
authorEd Schouten <ed@nuxi.nl>2015-10-29 13:49:03 +0000
committerNick Clifton <nickc@redhat.com>2015-10-29 13:49:03 +0000
commita75cf613fd7d0a48d526a996ff5c250c599d3ab7 (patch)
treee0846d4a3587824b62dfbf158da6177cf7138609 /ld/configure.tgt
parent968bc5cc86bff4ebf89e63bf99db7c7e777d4756 (diff)
downloadgdb-a75cf613fd7d0a48d526a996ff5c250c599d3ab7.zip
gdb-a75cf613fd7d0a48d526a996ff5c250c599d3ab7.tar.gz
gdb-a75cf613fd7d0a48d526a996ff5c250c599d3ab7.tar.bz2
Add support for AArch64 CloudABI binaries.
ld * Makefile.am (ALL_64_EMULATION_SOURCES): Add support for CloudABI on aarch64. For this target we have to make sure we use ELFOSABI_CLOUDABI instead of ELFOSABI_NONE. * configure.tgt (targ_emul): Likewise. * emulparams/aarch64cloudabi.sh: New file. * emulparams/aarch64cloudabib.sh: New file. * Makefile.in: Regenerate. bfd * config.bfd (targ_defvec): Add support for CloudABI on aarch64. For this target we have to make sure we use ELFOSABI_CLOUDABI instead of ELFOSABI_NONE. * configure.ac (tb): Likewise. * elfnn-aarch64.c: Likewise. * targets.c (_bfd_target_vector): Likewise. * configure: Regenerate. gas * config/tc-aarch64.c (elf64_aarch64_target_format): Select the cloudabi format if the TARGET_OS is cloudabi.
Diffstat (limited to 'ld/configure.tgt')
-rw-r--r--ld/configure.tgt2
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/configure.tgt b/ld/configure.tgt
index 197f13e..6b6bbf2 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -49,6 +49,8 @@ aarch64_be-*-elf) targ_emul=aarch64elfb
targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b armelfb armelf" ;;
aarch64-*-elf) targ_emul=aarch64elf
targ_extra_emuls="aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb" ;;
+aarch64-*-cloudabi*) targ_emul=aarch64cloudabi
+ targ_extra_emuls=aarch64cloudabib ;;
aarch64-*-freebsd*) targ_emul=aarch64fbsd
targ_extra_emuls="aarch64fbsdb aarch64elf" ;;
aarch64_be-*-linux*) targ_emul=aarch64linuxb