X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Fri, 8 Dec 2006 17:59:15 -0500 Message-Id: <200612082259.kB8MxFB7003247@envy.delorie.com> From: DJ Delorie To: Gordon DOT Schumacher AT seagate DOT com CC: djgpp AT delorie DOT com In-reply-to: (Gordon DOT Schumacher AT seagate DOT com) Subject: Re: Profiling with -pg and arguments to main() - GCC 4.1.0 References: Errors-To: nobody AT delorie DOT com > I'm not sure where mcount lives or how to go about fixing that, > though... :) The mcount() function is part of djgpp's libraries, it's sources are in djgpp's libc source tree somewhere. The assembly bits that get added to the start of each function are from gcc's sources, somewhere in gcc/config/i386/ (probably i386.c, emitted as rtl)