2008-12-23 Tristan Gingold <gingold@adacore.com>
authorTristan Gingold <gingold@adacore.com>
Tue, 23 Dec 2008 11:32:45 +0000 (11:32 +0000)
committerTristan Gingold <gingold@adacore.com>
Tue, 23 Dec 2008 11:32:45 +0000 (11:32 +0000)
commit846b9259cba427eb321444d30ef4c3dcb72e83e2
treefcfbe0ebf1ec4d48ee100b2c73403452d6c022f0
parent44f746428118afa8aa4108ca79bb356798fafe1d
2008-12-23  Tristan Gingold  <gingold@adacore.com>

* mach-o.c (bfd_mach_o_make_bfd_section): Use the standard ELF name
.eh_frame for __TEXT.__eh_frame so that it is recognized by gdb.
Use shorter sections name for well known sections.
(bfd_mach_o_scan_read_dylinker): Only put dylinker name in the
section content.
(bfd_mach_o_scan_read_segment): Use shorter sections name for
well known segments.
(bfd_mach_o_scan_read_command): Ignore some new commands.
(bfd_mach_o_openr_next_archived_file): Use more descriptive names
for members filename.
(bfd_mach_o_fat_extract): New function to easily extract members
of a fat binary.
* mach-o.h (bfd_mach_o_load_command_type): Add new constants.
(bfd_mach_o_dylinker_command): Fix comment and reindent.
(bfd_mach_o_fat_extract): New prototype.
bfd/ChangeLog
bfd/mach-o.c
bfd/mach-o.h