diff options
author | Tristan Gingold <tristan.gingold@adacore.com> | 2014-03-26 10:40:06 +0100 |
---|---|---|
committer | Tristan Gingold <tristan.gingold@adacore.com> | 2014-03-26 16:08:14 +0100 |
commit | d80285301a6a55f4f3bb4fbf4df1d20d91b0ee24 (patch) | |
tree | 66146a3205788b7a0670c39d5642ead6bd9e9955 /bfd/mach-o.c | |
parent | f6c7c3e8b742de0a5926e6a2c268f5803062b556 (diff) | |
download | gdb-d80285301a6a55f4f3bb4fbf4df1d20d91b0ee24.zip gdb-d80285301a6a55f4f3bb4fbf4df1d20d91b0ee24.tar.gz gdb-d80285301a6a55f4f3bb4fbf4df1d20d91b0ee24.tar.bz2 |
Mach-O: Add BFD_MACH_O_CPU_TYPE_ARM64.
include/mach-o/
* loader.h (bfd_mach_o_cpu_type): Add BFD_MACH_O_CPU_TYPE_ARM64.
bfd/
* mach-o.c (bfd_mach_o_convert_architecture): Add
BFD_MACH_O_CPU_TYPE_ARM64.
binutils/
* od-macho.c (bfd_mach_o_cpu_name): Add BFD_MACH_O_CPU_TYPE_ARM64.
Diffstat (limited to 'bfd/mach-o.c')
-rw-r--r-- | bfd/mach-o.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/mach-o.c b/bfd/mach-o.c index c77520a..6237602 100644 --- a/bfd/mach-o.c +++ b/bfd/mach-o.c @@ -905,6 +905,10 @@ bfd_mach_o_convert_architecture (bfd_mach_o_cpu_type mtype, *type = bfd_arch_powerpc; *subtype = bfd_mach_ppc64; break; + case BFD_MACH_O_CPU_TYPE_ARM64: + *type = bfd_arch_aarch64; + *subtype = bfd_mach_aarch64; + break; default: *type = bfd_arch_unknown; break; |