[Top][All Lists]

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

Re: [address@hidden: Re: gcc 3.3.x and profile]

From: Roland McGrath
Subject: Re: [address@hidden: Re: gcc 3.3.x and profile]
Date: Sat, 4 Oct 2003 18:20:26 -0400 (EDT)

The GCC spec looks fine to me.  The initialization and finalization code
that makes things happen is in libc, so that's where your problem is.
gcrt[01].o makes sure that __gmon_start__ gets called (libc/csu/gmon-start.c).

That initializer function calls __monstartup to start profiling and uses
atexit to have _mcleanup called at process exit (see libc/gmon/gmon.c).
Look at whether those are being called and if so what they are doing that
is wrong.  For issues about that code, post to <libc-alpha@sources.redhat.com>.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]