aboutsummaryrefslogtreecommitdiff
path: root/bfd/config.bfd
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 /bfd/config.bfd
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 'bfd/config.bfd')
-rw-r--r--bfd/config.bfd5
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/config.bfd b/bfd/config.bfd
index fe43153..c5688cb 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -184,6 +184,11 @@ case "${targ}" in
targ_selvecs="aarch64_elf64_be_vec arm_elf32_le_vec arm_elf32_be_vec"
want64=true
;;
+ aarch64-*-cloudabi*)
+ targ_defvec=aarch64_elf64_le_cloudabi_vec
+ targ_selvecs=aarch64_elf64_be_cloudabi_vec
+ want64=true
+ ;;
aarch64-*-linux*)
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"