From 0b2de107050237af9ccb6a2bd59070e9ac336b96 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 4 Jan 2012 10:25:14 +0000 Subject: bfd/ 2012-01-04 Tristan Gingold * mach-o.c (bfd_mach_o_convert_architecture): Reindent. Decode msubtype for ARM. include/mach-o/ 2012-01-04 Tristan Gingold * loader.h: Update copyright year. (bfd_mach_o_cpu_subtype): Add ARM subtypes. --- include/mach-o/ChangeLog | 5 +++++ include/mach-o/loader.h | 13 +++++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) (limited to 'include/mach-o') diff --git a/include/mach-o/ChangeLog b/include/mach-o/ChangeLog index 2cbd47a..0280ca7 100644 --- a/include/mach-o/ChangeLog +++ b/include/mach-o/ChangeLog @@ -1,5 +1,10 @@ 2012-01-04 Tristan Gingold + * loader.h: Update copyright year. + (bfd_mach_o_cpu_subtype): Add ARM subtypes. + +2012-01-04 Tristan Gingold + * external.h: Update copyright year. (mach_o_symtab_command_external): Add comments. (mach_o_encryption_info_command_external): New structure. diff --git a/include/mach-o/loader.h b/include/mach-o/loader.h index 296782f..824f793 100644 --- a/include/mach-o/loader.h +++ b/include/mach-o/loader.h @@ -1,5 +1,5 @@ /* Mach-O support for BFD. - Copyright 2011 + Copyright 2011, 2012 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. @@ -56,7 +56,16 @@ bfd_mach_o_cpu_type; typedef enum bfd_mach_o_cpu_subtype { - BFD_MACH_O_CPU_SUBTYPE_X86_ALL = 3 + /* i386. */ + BFD_MACH_O_CPU_SUBTYPE_X86_ALL = 3, + + /* arm. */ + BFD_MACH_O_CPU_SUBTYPE_ARM_ALL = 0, + BFD_MACH_O_CPU_SUBTYPE_ARM_V4T = 5, + BFD_MACH_O_CPU_SUBTYPE_ARM_V6 = 6, + BFD_MACH_O_CPU_SUBTYPE_ARM_V5TEJ = 7, + BFD_MACH_O_CPU_SUBTYPE_ARM_XSCALE = 8, + BFD_MACH_O_CPU_SUBTYPE_ARM_V7 = 9 } bfd_mach_o_cpu_subtype; -- cgit v1.1