AIX bootstrap failure (was Re: Hot/cold partitioning fixes)

Daniel Jacobowitz drow@false.org
Fri Apr 1 20:07:00 GMT 2005


On Fri, Apr 01, 2005 at 12:00:08PM -0800, Caroline Tice wrote:
> I really need labels with predictable names, as these labels are used in
> the debugging information to determine the size of the text sections.

And you can't somehow associate the labels with the function?  For
instance, record them in "struct function", or as a property of the
FUNCTION_DECL.  It looks like current_function isn't usable during
dwarf2 output, but you'll have the decl; you could create a hash table
mapping the FUNCTION_DECL to the appropriate label.

[There are a couple references to cfun in dwarf2out.c, which would be
easier, but I'm not sure if they're correct.]

-- 
Daniel Jacobowitz
CodeSourcery, LLC



More information about the Gcc-patches mailing list