This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [Patch]: Add objdump -P for Mach-O
- From: Alan Modra <amodra at gmail dot com>
- To: Tristan Gingold <gingold at adacore dot com>
- Cc: binutils Development <binutils at sourceware dot org>
- Date: Tue, 13 Dec 2011 09:41:26 +1030
- Subject: Re: [Patch]: Add objdump -P for Mach-O
- References: <6C7BB9E3-E8B0-42AE-ACAB-13C560B7304B@adacore.com>
On Mon, Dec 12, 2011 at 02:32:03PM +0100, Tristan Gingold wrote:
> binutils/
> 2011-12-12 Tristan Gingold <gingold@adacore.com>
>
> * od-macho.c: New file.
> * objdump.h (objdump_private_desc_mach_o): Add.
> * configure.in: Add Mach-O od_vectors.
> * Makefile.am (CFILES): Add od-macho.c
> * configure: Regenerate.
> * Makefile.in: Regenerate.
>
> bfd/
> 2011-12-12 Tristan Gingold <gingold@adacore.com>
>
> * mach-o.c (bfd_mach_o_read_symtab_symbols): Make global. Remove
> prototype.
> (bfd_mach_o_section_get_entry_size): Make global.
> (bfd_mach_o_section_get_nbr_indirect): Likewise.
> (bfd_mach_o_read_symtab_strtab): Likewise.
> (struct bfd_mach_o_xlat_name): Move to mach-o.h
> (bfd_mach_o_print_flags): Move to binutils/od-macho.c
> (bfd_mach_o_get_name_of_null, bfd_mach_o_get_name): Likewise.
> (bfd_mach_o_cpu_name, bfd_mach_o_filetype_name): Likewise.
> (bfd_mach_o_header_flags_name): Likewise.
> (bfd_mach_o_load_command_name): Likewise.
> (bfd_mach_o_print_private_header): Likewise.
> (bfd_mach_o_print_section_map, bfd_mach_o_print_section): Likwise.
> (bfd_mach_o_print_segment, bfd_mach_o_print_dysymtab): Likewise.
> (bfd_mach_o_print_dyld_info): Likewise.
> (bfd_mach_o_print_private_bfd_data): Remove.
> (bfd_mach_o_type_name): Make global.
> (bfd_mach_o_section_attribute_name): Likewise.
> * mach-o.h (bfd_mach_o_xlat_name): Added.
> (bfd_mach_o_section_get_nbr_indirect)
> (bfd_mach_o_section_get_entry_size)
> (bfd_mach_o_read_symtab_symbols)
> (bfd_mach_o_read_symtab_strtab)
> (bfd_mach_o_section_attribute_name)
> (bfd_mach_o_section_type_name): Likewise.
> * mach-o-target.c (bfd_mach_o_bfd_print_private_bfd_data): Define.
OK.
--
Alan Modra
Australia Development Lab, IBM