]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Mach-O: add objdump -P function_starts to display function starts.
authorTristan Gingold <tristan.gingold@adacore.com>
Tue, 25 Mar 2014 14:51:54 +0000 (15:51 +0100)
committerTristan Gingold <tristan.gingold@adacore.com>
Thu, 27 Mar 2014 09:23:22 +0000 (10:23 +0100)
commit3cc27770cfa2080f70d44659de9d62adc80489fc
treebc8a143d3941d458aa0224b3293675bf6217af88
parentb5bee914261ea82683b7da4245790465b9373131
Mach-O: add objdump -P function_starts to display function starts.

bfd/
* mach-o.h (bfd_mach_o_get_base_address): New prototype.
* mach-o.c (bfd_mach_o_write_symtab)
(bfd_mach_o_write_contents)
(bfd_mach_o_set_section_flags_from_bfd)
(bfd_mach_o_build_seg_command): Fix indentation.
(bfd_mach_o_get_base_address): New function.

binutils/
* od-macho.c (OPT_FUNCTION_STARTS): New macro.
(options): Add entry for function_starts.
(mach_o_help): Ditto.
(disp_segment_prot): New function.
(dump_section_map): Call disp_segment_prot.
(dump_function_starts): New function.
(dump_obj_compact_unwind): Fix ouput indentation.
(dump_exe_compact_unwind): Fix ouput indentation.
(mach_o_dump): Handle function_starts.
bfd/ChangeLog
bfd/mach-o.c
bfd/mach-o.h
binutils/ChangeLog
binutils/od-macho.c