diff options
author | Tristan Gingold <gingold@adacore.com> | 2011-12-07 10:09:22 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2011-12-07 10:09:22 +0000 |
commit | afbb9e17e41abd51e78f31bfaa1ade56cb232d39 (patch) | |
tree | 2b4f16635faa92054ac3a57c84f8da0efe1c693d /bfd/mach-o.h | |
parent | 13b8d0c64f1e8d31c54888a2a02af49d02ca4e7f (diff) | |
download | gdb-afbb9e17e41abd51e78f31bfaa1ade56cb232d39.zip gdb-afbb9e17e41abd51e78f31bfaa1ade56cb232d39.tar.gz gdb-afbb9e17e41abd51e78f31bfaa1ade56cb232d39.tar.bz2 |
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.
Diffstat (limited to 'bfd/mach-o.h')
-rw-r--r-- | bfd/mach-o.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/bfd/mach-o.h b/bfd/mach-o.h index 53d97da..f199016 100644 --- a/bfd/mach-o.h +++ b/bfd/mach-o.h @@ -539,9 +539,6 @@ bfd_mach_o_backend_data; ((bfd_mach_o_section *)(sec)->used_by_bfd) bfd_boolean bfd_mach_o_valid (bfd *); -int bfd_mach_o_read_dysymtab_symbol (bfd *, bfd_mach_o_dysymtab_command *, bfd_mach_o_symtab_command *, bfd_mach_o_asymbol *, unsigned long); -int bfd_mach_o_scan_start_address (bfd *); -int bfd_mach_o_scan (bfd *, bfd_mach_o_header *, bfd_mach_o_data_struct *); bfd_boolean bfd_mach_o_mkobject_init (bfd *); const bfd_target *bfd_mach_o_object_p (bfd *); const bfd_target *bfd_mach_o_core_p (bfd *); |