[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: -ffunction-sections and profiling



> > -ffunction-sections makes profiling impossible.  I suppose I could try
> 
> I'm not sure either.  It might have something to do with the labels
> emitted for profiling support and the .section directives used for
> function sections.  It's been this way since function sections were
> introduced:

Yes, I think the problem is that binutils doesn't know how to take label
differences between two sections.

randolph
-- 
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/



Reply to: