2009-09-16 Tristan Gingold <gingold@adacore.com>
authorTristan Gingold <gingold@adacore.com>
Wed, 16 Sep 2009 13:30:32 +0000 (13:30 +0000)
committerTristan Gingold <gingold@adacore.com>
Wed, 16 Sep 2009 13:30:32 +0000 (13:30 +0000)
commitafecc97cf6abc6df07f613b0247afe71d48f7092
tree0f67996e43d91518cf8f797acb5c7eb6d2c17e5b
parent5cca3659ec807cd5df9c685addbd6e8642665d93
2009-09-16  Tristan Gingold  <gingold@adacore.com>

* mach-o.h (bfd_mach_o_filetype): Add new constants from darwin10.
Reindent.
* mach-o.c (bfd_mach_o_cpu_name): Reindent.
(bfd_mach_o_filetype_name): Complete with new constants.  Reindent.
(bfd_mach_o_print_private_header): Use fputs instead of fprintf
when possible to avoid warnings.
(bfd_mach_o_print_section_map): Ditto.
(bfd_mach_o_section_get_entry_size): New function.
(bfd_mach_o_section_get_nbr_indirect): Simplify using the newly
added function.
(bfd_mach_o_print_dysymtab): Print address of indirect symbols.
bfd/ChangeLog
bfd/mach-o.c
bfd/mach-o.h