2011-08-08 Tristan Gingold <gingold@adacore.com>
commit8285e8aadbd01dc088f0179653f9c3986d7b0ffe
authorTristan Gingold <gingold@adacore.com>
Mon, 8 Aug 2011 07:39:42 +0000 (8 07:39 +0000)
committerTristan Gingold <gingold@adacore.com>
Mon, 8 Aug 2011 07:39:42 +0000 (8 07:39 +0000)
tree4dba5f3b5d5bc4082e9fb8a40b6655e582a2278d
parent59afcd017f53d33b59397ae0c49711f9baaa1911
2011-08-08  Tristan Gingold  <gingold@adacore.com>

* mach-o.c (bfd_mach_o_normalize_section_name): New function.
(bfd_mach_o_convert_section_name_to_bfd): Use it.
(bfd_mach_o_get_section_type_from_name): New function.
(bfd_mach_o_get_section_attribute_from_name): Ditto.
* mach-o.h (bfd_mach_o_section): Move bfdsection field at the end.
Add comments.  Add prototypes for the above new functions.
bfd/ChangeLog
bfd/mach-o.c
bfd/mach-o.h