linux-mips
[Top] [All Lists]

Re: 0 function size

To: "Alexander Sirotkin" <demiourgos@gmail.com>
Subject: Re: 0 function size
From: "Rajat Jain" <rajat.noida.india@gmail.com>
Date: Mon, 5 Mar 2007 21:51:25 +0530
Cc: linux-mips@linux-mips.org
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=uYO8OqreABaEP948N2RCp40TZUvnGhw3EnCIdSDszLyDAp5wVv11Fwj64HXGbR6ddZhROsu8c6QJGldzGLCtEAEmoOU0f3uLX7E7M9NB82r8tBON1ccITPKnDlBQDjq2G/BulRyweFWmOmAoot8+juWrIgXjbuEjmZ+zq6FAusQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=PBOXlg2b02xbLIH1hIs44zXSBPQNZyLk0eozr3oRxOfYMJK0kVBCuiVOj+se7oZ02wB0FdotKTDM2TpIzZylQVKtAuMgTee+DhPUMYjMsy2qfKgJbdl10ldRqADEiuqD5UiJPG22T40CHcVavrMdhpPD8uv+X752pInKSw1Y2qs=
In-reply-to: <c4357ccd0703050619r6b5a7452j6b582687bf1794d3@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <c4357ccd0703050619r6b5a7452j6b582687bf1794d3@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
On 3/5/07, Alexander Sirotkin <demiourgos@gmail.com> wrote:
I'm trying to see the function sizes for some object file compiled for
MIPS. On x86 one can use objdump  or readelf to see the sizes, however
for same weird reason on MIPS these routines show 0 for all functions.

Any idea what I'm missing ?


Are you using a native compiler or a cross compiler?

If you are using a cross compiler, then you need to use the "cross
compiler" version of objdump / readelf  utilities as well. For
instance if you are using mips-linux-gcc to compile, then you need
mips-linux-readelf / mips-linux-objdump etc.

Thanks,

Rajat

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