linux-mips
[Top] [All Lists]

Re: A problem about gprof

To: ZhouY.external@infineon.com
Subject: Re: A problem about gprof
From: Ralf Baechle <ralf@linux-mips.org>
Date: Tue, 28 Jan 2003 07:58:11 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <3A5A80BF651115469CA99C8928706CB603D7B2C2@mucse004.eu.infineon.com>; from ZhouY.external@infineon.com on Mon, Jan 27, 2003 at 03:27:16PM +0100
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <3A5A80BF651115469CA99C8928706CB603D7B2C2@mucse004.eu.infineon.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.2.5.1i
On Mon, Jan 27, 2003 at 03:27:16PM +0100, ZhouY.external@infineon.com wrote:

>   In order to use the gprof in the SDE 5.02 toolchain, I compiled a program
> with '-p' option but the compiler responsed with a error. I have checked the
> startup assembly code crt0.sx. There is an address operation which need the
> address of '_ecode'. Which library has the symbol '_ecode'?  Could you give
> me a clue?

There is no crt0.something in Linux.  Seems your compiler is configured
for some obscure target.  Rebuild your compiler for mips-linux or
mipsel-linux as target.  Zero chance otherwise.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>