Date: Tue, 18 Mar 2003 09:57:25 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: djgpp AT delorie DOT com Message-Id: <8582-Tue18Mar2003095725+0200-eliz@elta.co.il> X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: (message from =?iso-8859-1?Q?Andr=E9_P=F6nitz?= on 18 Mar 2003 07:55:56 GMT) Subject: Re: gcc -O3 & gprof References: Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: =?iso-8859-1?Q?Andr=E9_P=F6nitz?= > Newsgroups: comp.os.msdos.djgpp,gnu.gcc.help,gnu.utils.help > Date: 18 Mar 2003 07:55:56 GMT > > > For instance, nm doesn't distinguish -O0, -O1, -O2, -O3. > > The function definitions have to be there in case you want to access them > from another translation unit. I think the symbols are there also if some code, even in the same translation unit, needs to call one of these functions via a pointer.