mach-o: read and dump: prebound_dylib, prebind_cksum, twolevel_hints.
authorTristan Gingold <tristan.gingold@adacore.com>
Wed, 26 Mar 2014 14:01:53 +0000 (15:01 +0100)
committerTristan Gingold <tristan.gingold@adacore.com>
Wed, 2 Apr 2014 13:03:51 +0000 (15:03 +0200)
commit7a79c51466c30188d49d03d3e3593c87e5a3345e
treeba47b17425271ba5074065034c29bd37f8055c02
parent5979d6b69b20a8355ea94b75fad97415fce4788c
mach-o: read and dump: prebound_dylib, prebind_cksum, twolevel_hints.

include/mach-o:
* external.h (mach_o_prebound_dylib_command_external)
(mach_o_prebind_cksum_command_external)
(mach_o_twolevel_hints_command_external): New types.

bfd/
* mach-o.h (bfd_mach_o_twolevel_hints_command)
(bfd_mach_o_prebind_cksum_command): New types.
(bfd_mach_o_prebound_dylib_command): Rewrite.
(bfd_mach_o_load_command): Add prebind_cksum and twolevel_hints
fields.
* mach-o.c (bfd_mach_o_read_prebound_dylib): Read and decode the
command.
(bfd_mach_o_read_prebind_cksum): New function.
(bfd_mach_o_read_twolevel_hints): Ditto.
(bfd_mach_o_read_command): Handle prebind cksum and twolevel hints
commands.

binutils/
* od-macho.c (OPT_TWOLEVEL_HINTS): New macro.
(options): Add entry for twolevel_hints.
(dump_data_in_code): Fix error message.
(dump_twolevel_hints): New function.
(dump_load_command): Handle prebound dylib, prebind cksum
and twolevel hints.
(mach_o_dump): Handle twolevel hints.
bfd/ChangeLog
bfd/mach-o.c
bfd/mach-o.h
binutils/ChangeLog
binutils/od-macho.c
include/mach-o/ChangeLog
include/mach-o/external.h
This page took 0.026444 seconds and 4 git commands to generate.