aboutsummaryrefslogtreecommitdiff
path: root/include/mach-o/loader.h
diff options
context:
space:
mode:
authorTristan Gingold <tristan.gingold@adacore.com>2014-03-26 10:40:06 +0100
committerTristan Gingold <tristan.gingold@adacore.com>2014-03-26 16:08:14 +0100
commitd80285301a6a55f4f3bb4fbf4df1d20d91b0ee24 (patch)
tree66146a3205788b7a0670c39d5642ead6bd9e9955 /include/mach-o/loader.h
parentf6c7c3e8b742de0a5926e6a2c268f5803062b556 (diff)
downloadgdb-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 'include/mach-o/loader.h')
-rw-r--r--include/mach-o/loader.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/mach-o/loader.h b/include/mach-o/loader.h
index f7b2b42..952346d 100644
--- a/include/mach-o/loader.h
+++ b/include/mach-o/loader.h
@@ -48,8 +48,12 @@ typedef enum bfd_mach_o_cpu_type
BFD_MACH_O_CPU_TYPE_I860 = 15,
BFD_MACH_O_CPU_TYPE_ALPHA = 16,
BFD_MACH_O_CPU_TYPE_POWERPC = 18,
- BFD_MACH_O_CPU_TYPE_POWERPC_64 = (BFD_MACH_O_CPU_TYPE_POWERPC | BFD_MACH_O_CPU_IS64BIT),
- BFD_MACH_O_CPU_TYPE_X86_64 = (BFD_MACH_O_CPU_TYPE_I386 | BFD_MACH_O_CPU_IS64BIT)
+ BFD_MACH_O_CPU_TYPE_POWERPC_64 =
+ (BFD_MACH_O_CPU_TYPE_POWERPC | BFD_MACH_O_CPU_IS64BIT),
+ BFD_MACH_O_CPU_TYPE_X86_64 =
+ (BFD_MACH_O_CPU_TYPE_I386 | BFD_MACH_O_CPU_IS64BIT),
+ BFD_MACH_O_CPU_TYPE_ARM64 =
+ (BFD_MACH_O_CPU_TYPE_ARM | BFD_MACH_O_CPU_IS64BIT)
}
bfd_mach_o_cpu_type;