delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2006/12/08/17:59:25

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 <dj AT delorie DOT com>
To: Gordon DOT Schumacher AT seagate DOT com
CC: djgpp AT delorie DOT com
In-reply-to:
<OFD4C09375 DOT 148FF351-ON8725723E DOT 007BF8C1-8725723E DOT 007DD48D AT seagate DOT com>
(Gordon DOT Schumacher AT seagate DOT com)
Subject: Re: Profiling with -pg and arguments to main() - GCC 4.1.0
References: <OFD4C09375 DOT 148FF351-ON8725723E DOT 007BF8C1-8725723E DOT 007DD48D AT seagate DOT com>
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)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019