2008-12-23 Tristan Gingold <gingold@adacore.com>
commit0aef98d79a6753b5d5e289fefc03d1b41dae5969
authorTristan Gingold <gingold@adacore.com>
Tue, 23 Dec 2008 11:32:45 +0000 (23 11:32 +0000)
committerTristan Gingold <gingold@adacore.com>
Tue, 23 Dec 2008 11:32:45 +0000 (23 11:32 +0000)
tree99144cc0992663b54b2faa0d4293f4e4bb20adf4
parent1db752a0e1587b665027f6b8fc36a8e33a53c06b
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