bfd/
authorTristan Gingold <gingold@adacore.com>
Wed, 14 Nov 2012 11:03:27 +0000 (11:03 +0000)
committerTristan Gingold <gingold@adacore.com>
Wed, 14 Nov 2012 11:03:27 +0000 (11:03 +0000)
commit1778ad74b30a4873b8288ef88918677d333164e2
tree8a0e660bb42092310173638f5c268dab57153bb7
parent91cb77818bed6466a0c4097025a43d99266f07bb
bfd/
2012-11-14  Tristan Gingold  <gingold@adacore.com>

* mach-o.c (bfd_mach_o_read_main)
(bfd_mach_o_read_source_version): New functions.
(bfd_mach_o_read_command): Handle BFD_MACH_O_LC_DATA_IN_CODE,
BFD_MACH_O_LC_DYLIB_CODE_SIGN_DRS, BFD_MACH_O_LC_MAIN,
BFD_MACH_O_LC_SOURCE_VERSION.
* mach-o.h (bfd_mach_o_main_command)
(bfd_mach_o_source_version_command): New types.
(bfd_mach_o_load_command): Add fields for these new types.

binutils/
2012-11-14  Tristan Gingold  <gingold@adacore.com>

* od-macho.c (bfd_mach_o_load_command_name): Add new definitions.
(dump_load_command): Handle BFD_MACH_O_LC_SOURCE_VERSION
and BFD_MACH_O_LC_MAIN.
bfd/ChangeLog
bfd/mach-o.c
bfd/mach-o.h
binutils/ChangeLog
binutils/od-macho.c