aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2012-01-04 09:58:55 +0000
committerTristan Gingold <gingold@adacore.com>2012-01-04 09:58:55 +0000
commitfc55a902573b7f73d8f138b843f31f5adbe7331e (patch)
tree0d5c58dbdf940acc418d5d52e79127ee1b100546 /bfd/mach-o.h
parent2012-01-04 Shinichiro Hamaji <shinichiro.hamaji@gmail.com> (diff)
downloadbinutils-gdb-fc55a902573b7f73d8f138b843f31f5adbe7331e.tar.gz
binutils-gdb-fc55a902573b7f73d8f138b843f31f5adbe7331e.tar.bz2
binutils-gdb-fc55a902573b7f73d8f138b843f31f5adbe7331e.zip
bfd/
2012-01-04 Tristan Gingold <gingold@adacore.com> * mach-o.h: Reindent header. (bfd_mach_o_encryption_info_command): New structure. (bfd_mach_o_load_command): Add encryption_info field. * mach-o.c (bfd_mach_o_read_encryption_info): New function. (bfd_mach_o_read_command): Handle BFD_MACH_O_LC_ENCRYPTION_INFO. (bfd_mach_o_read_command): Adjust error message. binutils/ 2012-01-04 Tristan Gingold <gingold@adacore.com> * od-macho.c: Update copyright year. (dump_load_command): Handle BFD_MACH_O_LC_ENCRYPTION_INFO. include/mach-o/ 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.
Diffstat (limited to 'bfd/mach-o.h')
-rw-r--r--bfd/mach-o.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/bfd/mach-o.h b/bfd/mach-o.h
index da4363bee9c..b32b6a8962f 100644
--- a/bfd/mach-o.h
+++ b/bfd/mach-o.h
@@ -1,6 +1,7 @@
/* Mach-O support for BFD.
Copyright 1999, 2000, 2001, 2002, 2003, 2005, 2007, 2008, 2009, 2011,
- 2012 Free Software Foundation, Inc.
+ 2012
+ Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
@@ -482,6 +483,14 @@ typedef struct bfd_mach_o_version_min_command
}
bfd_mach_o_version_min_command;
+typedef struct bfd_mach_o_encryption_info_command
+{
+ unsigned int cryptoff;
+ unsigned int cryptsize;
+ unsigned int cryptid;
+}
+bfd_mach_o_encryption_info_command;
+
typedef struct bfd_mach_o_load_command
{
bfd_mach_o_load_command_type type;
@@ -502,6 +511,7 @@ typedef struct bfd_mach_o_load_command
bfd_mach_o_str_command str;
bfd_mach_o_dyld_info_command dyld_info;
bfd_mach_o_version_min_command version_min;
+ bfd_mach_o_encryption_info_command encryption_info;
}
command;
}