2009-12-15 Tristan Gingold <gingold@adacore.com>
commit20abe9ca5cf4dead0c2edf0aaa31eb9629716b83
authorTristan Gingold <gingold@adacore.com>
Tue, 15 Dec 2009 09:28:27 +0000 (15 09:28 +0000)
committerTristan Gingold <gingold@adacore.com>
Tue, 15 Dec 2009 09:28:27 +0000 (15 09:28 +0000)
tree621c0f366fab00b93e85713f705b7b6da71bf051
parent9e999b7d696dbc2e81049e61abbeba38edc71d53
2009-12-15  Tristan Gingold  <gingold@adacore.com>

        * mach-o.c (struct mach_o_section_name_xlat): Add flags field.
        (dwarf_section_names_xlat): Add section flags.
        (text_section_names_xlat): Ditto.
        (data_section_names_xlat): Ditto.
        (bfd_mach_o_convert_section_name_to_bfd): Now return name and section
        flags by reference.
        (bfd_mach_o_make_bfd_section): Use section flags when know, otherwise
        try to guess.
bfd/ChangeLog
bfd/mach-o.c