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.
This commit is contained in:
Tristan Gingold 2012-01-04 10:25:14 +00:00
parent 1cf6182800
commit 4d0c04db40
2 changed files with 16 additions and 2 deletions

View File

@ -1,3 +1,8 @@
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> 2012-01-04 Tristan Gingold <gingold@adacore.com>
* external.h: Update copyright year. * external.h: Update copyright year.

View File

@ -1,5 +1,5 @@
/* Mach-O support for BFD. /* Mach-O support for BFD.
Copyright 2011 Copyright 2011, 2012
Free Software Foundation, Inc. Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library. 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 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; bfd_mach_o_cpu_subtype;