On Fri, Jan 27, 2012 at 09:45:32AM -0800, Roland McGrath wrote:
I'd like to make it consistent now. The smarts will validate that it's an attribute expected to hold a section offset, and that the offset is valid for its target section.
OK, I think I get what you mean now. How does the attached patch look?
It does mean we do a bit more sanity checking than before in dwarf_formudata. So is that not too invasive just before the release? Or should the new code be but in its own new function dwarf_formsec_offset to keep the new code separate?
Thanks,
Mark