mach-o: display data_in_code.
authorTristan Gingold <tristan.gingold@adacore.com>
Wed, 26 Mar 2014 09:41:16 +0000 (10:41 +0100)
committerTristan Gingold <tristan.gingold@adacore.com>
Tue, 1 Apr 2014 10:39:28 +0000 (12:39 +0200)
commitc275b681a57c50a6ed5d7cb5192be588fd451427
tree2adde5f1fdc9164afb3a7eba459067a016455a93
parenta41f2563d040d86954ccda7faa4a8ad7bdbcae88
mach-o: display data_in_code.

binutils/
* od-macho.c (OPT_DATA_IN_CODE): New macro.
(options): Add entry for data in code.
(mach_o_help): Ditto.
(data_in_code_kind_name): New array.
(dump_data_in_code): New function.
(dump_load_command): Handle data in code.
(mach_o_dump): Ditto.
(dump_header): Display a terminal newline.
binutils/ChangeLog
binutils/od-macho.c