aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2012-01-04 10:25:14 +0000
committerTristan Gingold <gingold@adacore.com>2012-01-04 10:25:14 +0000
commit0b2de107050237af9ccb6a2bd59070e9ac336b96 (patch)
treeac9ca1654ef154d42d122a15e08a5c88d072e592 /include
parentaeefa1c9a50aac0036d605517255ef6d111d56f8 (diff)
downloadgdb-0b2de107050237af9ccb6a2bd59070e9ac336b96.zip
gdb-0b2de107050237af9ccb6a2bd59070e9ac336b96.tar.gz
gdb-0b2de107050237af9ccb6a2bd59070e9ac336b96.tar.bz2
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/ChangeLog5
-rw-r--r--include/mach-o/loader.h13
2 files changed, 16 insertions, 2 deletions
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 <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 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;