Summary: Incorrect DWARF section names on Mac
OS/Version: Mac OS X
--- Comment #0 from Jacob Carlborg <d...@me.com> 2010-05-03 08:58:33 PDT ---
Created an attachment (id=622)
Fixes the incorrect DWARF section names
According to the Mach-O file format reference:
section names should be all lowercase and prefixed with two underscores "__".
DMD output the DWARF section names with a dot "." as the prefix instead of the
two underscores. Both GCC and Clang output the DWARF section names prefixed
with two underscores.
I've attached a patch which fixes this. But with this patch (I think) one or
several offsets somehow become incorrect. This is the output of dwarfdump
The offset into the .debug_abbrev section (0xffffffff) is not valid.
Maybe it's because the section names are now one character longer or there is
something other that isn't working.
The patch is against DMD revision 466.
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------