From 4ee8ef6a7d6f8abde5d081d0a8e2c726b97d8a4f Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 4 Jan 2012 10:37:36 +0000 Subject: [PATCH] bfd/ 2012-01-04 Tristan Gingold * mach-o.h (bfd_mach_o_fvmlib_command): New structure. (bfd_mach_o_load_command): Add fvmlib field. * mach-o.c (bfd_mach_o_read_fvmlib): New function. (bfd_mach_o_read_command): Handle fvmlib. binutils/ 2012-01-04 Tristan Gingold * od-macho.c (dump_load_command): Handle fvmlib. include/mach-o/ 2012-01-04 Tristan Gingold * external.h (mach_o_fvmlib_command_external): New structure. --- include/mach-o/ChangeLog | 4 ++++ include/mach-o/external.h | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/include/mach-o/ChangeLog b/include/mach-o/ChangeLog index 0280ca778..2cd71c963 100644 --- a/include/mach-o/ChangeLog +++ b/include/mach-o/ChangeLog @@ -1,3 +1,7 @@ +2012-01-04 Tristan Gingold + + * external.h (mach_o_fvmlib_command_external): New structure. + 2012-01-04 Tristan Gingold * loader.h: Update copyright year. diff --git a/include/mach-o/external.h b/include/mach-o/external.h index 23d9a5c00..ad419ef54 100644 --- a/include/mach-o/external.h +++ b/include/mach-o/external.h @@ -262,6 +262,13 @@ struct mach_o_encryption_info_command_external unsigned char cryptid[4]; /* Encryption method. */ }; +struct mach_o_fvmlib_command_external +{ + unsigned char name[4]; /* Offset of the name. */ + unsigned char minor_version[4]; + unsigned char header_addr[4]; +}; + struct mach_o_fat_header_external { unsigned char magic[4];