2008-12-23 Tristan Gingold <gingold@adacore.com>
commit93cb045b7c85caa6fe372df5ada9dbb3ecbf4bcb
authorTristan Gingold <gingold@adacore.com>
Tue, 23 Dec 2008 11:32:44 +0000 (23 11:32 +0000)
committerTristan Gingold <gingold@adacore.com>
Tue, 23 Dec 2008 11:32:44 +0000 (23 11:32 +0000)
tree7b66535f0d728cdc62d7e37df8d7da60db2b57fe
parent506746b25e05bb7397ca7739abd332b058a1df92
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