2011-08-08 Tristan Gingold <gingold@adacore.com>
authorTristan Gingold <gingold@adacore.com>
Mon, 8 Aug 2011 07:39:44 +0000 (07:39 +0000)
committerTristan Gingold <gingold@adacore.com>
Mon, 8 Aug 2011 07:39:44 +0000 (07:39 +0000)
commit53d58d96a751e0ff3c3bc4323f676bed1d521e0f
treefce549d8f49a9fd17422a439b41c98111dc302c1
parent066a66625f57511b9240cf37f8ab61e26d9f394c
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