From 4d0c04db40f9beccf21ea6630e82ed3b9b5c5df7 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/loader.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'include/mach-o/loader.h') 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; -- cgit v1.2.3