binutils/
authorTristan Gingold <gingold@adacore.com>
Fri, 16 Dec 2011 10:23:01 +0000 (10:23 +0000)
committerTristan Gingold <gingold@adacore.com>
Fri, 16 Dec 2011 10:23:01 +0000 (10:23 +0000)
commit2634e8c8ff4e4f253723a34a696d8568109d3f10
tree67bec0d3c5a14ef2271ea0128b070bf6a9a599c7
parentfb35d3d8fae4422243d6803c41b5cb4d2f5e5e2a
binutils/
2011-12-16  Tristan Gingold  <gingold@adacore.com>

* od-macho.c: Include mach-o/codesign.h
(OPT_CODESIGN): Define.
(options): Add an entry for codesign.
(mach_o_help): Likewise.
(dump_header): Fix indentation.
(dump_thread): Do not test result of xmalloc.
(bfd_mach_o_cs_magic, bfd_mach_o_cs_hash_type): New.
(dump_code_signature_superblob): New function.
(swap_code_codedirectory_v1_in): Likewise.
(hexdump): Likewise.
(dump_code_signature_codedirectory): Likewise.
(dump_code_signature_blob, dump_code_signature): Likewise.
(dump_load_command): Dump code signature.
(mach_o_dump): Likewise.

include/mach-o/
2011-12-16  Tristan Gingold  <gingold@adacore.com>

* codesign.h: New file.
binutils/ChangeLog
binutils/od-macho.c
include/mach-o/ChangeLog
include/mach-o/codesign.h [new file with mode: 0644]