2012-01-04  Tristan Gingold  <gingold@adacore.com>

	* 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  <gingold@adacore.com>

	* od-macho.c (dump_load_command): Handle fvmlib.

include/mach-o/
2012-01-04  Tristan Gingold  <gingold@adacore.com>

	* external.h (mach_o_fvmlib_command_external): New structure.
This commit is contained in:
Tristan Gingold 2012-01-04 10:37:36 +00:00
parent 4d0c04db40
commit 4ee8ef6a7d
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2012-01-04 Tristan Gingold <gingold@adacore.com>
* external.h (mach_o_fvmlib_command_external): New structure.
2012-01-04 Tristan Gingold <gingold@adacore.com>
* loader.h: Update copyright year.

View File

@ -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];