2011-12-07 Tristan Gingold <gingold@adacore.com>
authorTristan Gingold <gingold@adacore.com>
Wed, 7 Dec 2011 10:09:22 +0000 (10:09 +0000)
committerTristan Gingold <gingold@adacore.com>
Wed, 7 Dec 2011 10:09:22 +0000 (10:09 +0000)
commitafbb9e17e41abd51e78f31bfaa1ade56cb232d39
tree2b4f16635faa92054ac3a57c84f8da0efe1c693d
parent13b8d0c64f1e8d31c54888a2a02af49d02ca4e7f
2011-12-07  Tristan Gingold  <gingold@adacore.com>

* mach-o.c (bfd_mach_o_canonicalize_symtab): Fix indentation.
Adjust the condition.
(bfd_mach_o_read_symtab_symbol): Now returns a bfd_boolean.
Adjust return statements.
(bfd_mach_o_read_symtab_strtab): Likewise.
(bfd_mach_o_read_symtab_symbols): Likewise.
(bfd_mach_o_scan_start_address): Likewise.  Make it static.
(bfd_mach_o_scan): Likewise.
(bfd_mach_o_read_dysymtab_symbol): Remove unused function.
(bfd_mach_o_header_p): Adjust call.
(bfd_mach_o_cpu_name): Make it const.
(bfd_mach_o_filetype_name): Likewise.
(bfd_mach_o_header_flags_name): Likewise.
(bfd_mach_o_section_type_name): Likewise.
(bfd_mach_o_section_attribute_name): Likewise.
(bfd_mach_o_load_command_name): Likewise.
(bfd_mach_o_get_section_type_from_name): Add a const qualifier
after above change.
(bfd_mach_o_get_section_attribute_from_name): Likewise.
* mach-o.h (bfd_mach_o_read_dysymtab_symbol)
(bfd_mach_o_scan_start_address, bfd_mach_o_scan): Remove.
bfd/ChangeLog
bfd/mach-o.c
bfd/mach-o.h