diff options
author | Tristan Gingold <gingold@adacore.com> | 2011-12-07 10:09:21 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2011-12-07 10:09:21 +0000 |
commit | 1148c5fc80de627b4adb8901d1fe17c1ff79a61a (patch) | |
tree | 7a2664cc386159e1165bdedcf67ba99c54900e97 /bfd/mach-o.h | |
parent | efd875bec8d5a3b56f4eae4a28c280a8d0a821db (diff) | |
download | gdb-1148c5fc80de627b4adb8901d1fe17c1ff79a61a.tar.gz |
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 53d97dab3a6..f19901651bc 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 *); |