2009-12-15 Tristan Gingold <gingold@adacore.com>
authorTristan Gingold <gingold@adacore.com>
Tue, 15 Dec 2009 09:28:28 +0000 (09:28 +0000)
committerTristan Gingold <gingold@adacore.com>
Tue, 15 Dec 2009 09:28:28 +0000 (09:28 +0000)
commit8462aec76da6a09f61f79050cd68c07d9dbc236b
treecd0bee1b8c529cd3ae99b24f7d970abd60d7da4b
parente7f8eadb7897a84b7e76370aee406ea53a88cec6
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