OSDN Git Service

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)
commit73ec72008f7eec60bde22ffbc9abebb8707748fd
tree40c032f2438c4ac839fd3a1a615db240eb65d749
parent0f6a12e68546412d1cd036bbb735853a2f7be605
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