diff options
author | Tristan Gingold <gingold@adacore.com> | 2012-01-04 14:25:14 +0400 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2012-01-04 14:25:14 +0400 |
commit | 4d0c04db40f9beccf21ea6630e82ed3b9b5c5df7 (patch) | |
tree | 62417570736348422abf558b22e918d2b3d1df50 /include | |
parent | 1cf61828001d7f9d39473416d3fbc1baed85a44c (diff) |
bfd/
2012-01-04 Tristan Gingold <gingold@adacore.com>
* mach-o.c (bfd_mach_o_convert_architecture): Reindent.
Decode msubtype for ARM.
include/mach-o/
2012-01-04 Tristan Gingold <gingold@adacore.com>
* loader.h: Update copyright year.
(bfd_mach_o_cpu_subtype): Add ARM subtypes.
Diffstat (limited to 'include')
-rw-r--r-- | include/mach-o/ChangeLog | 5 | ||||
-rw-r--r-- | include/mach-o/loader.h | 13 |
2 files changed, 16 insertions, 2 deletions
diff --git a/include/mach-o/ChangeLog b/include/mach-o/ChangeLog index 2cbd47a4c..0280ca778 100644 --- a/include/mach-o/ChangeLog +++ b/include/mach-o/ChangeLog @@ -1,5 +1,10 @@ 2012-01-04 Tristan Gingold <gingold@adacore.com> + * loader.h: Update copyright year. + (bfd_mach_o_cpu_subtype): Add ARM subtypes. + +2012-01-04 Tristan Gingold <gingold@adacore.com> + * 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 296782fb5..824f79367 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; |