diff options
author | Ed Schouten <ed@nuxi.nl> | 2015-10-29 13:49:03 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2015-10-29 13:49:03 +0000 |
commit | a75cf613fd7d0a48d526a996ff5c250c599d3ab7 (patch) | |
tree | e0846d4a3587824b62dfbf158da6177cf7138609 /gas | |
parent | 968bc5cc86bff4ebf89e63bf99db7c7e777d4756 (diff) | |
download | gdb-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 'gas')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-aarch64.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 1df8a1d..af1540c 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2015-10-29 Nick Clifton <nickc@redhat.com> + + * config/tc-aarch64.c (elf64_aarch64_target_format): Select the + cloudabi format if the TARGET_OS is cloudabi. + 2015-10-29 Thomas Preud'homme <thomas.preudhomme@arm.com> * config/tc-arm.c (insns): Guard cps by arm_ext_v6_notm instead of diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c index 81b8e2d..2cc7b4b 100644 --- a/gas/config/tc-aarch64.c +++ b/gas/config/tc-aarch64.c @@ -7309,6 +7309,11 @@ aarch64_force_relocation (struct fix *fixp) const char * elf64_aarch64_target_format (void) { + if (strcmp (TARGET_OS, "cloudabi") == 0) + { + /* FIXME: What to do for ilp32_p ? */ + return target_big_endian ? "elf64-bigaarch64-cloudabi" : "elf64-littleaarch64-cloudabi"; + } if (target_big_endian) return ilp32_p ? "elf32-bigaarch64" : "elf64-bigaarch64"; else |