[Top] [All Lists]

Re: 0 function size

To: Rajat Jain <>
Subject: Re: 0 function size
From: Ralf Baechle <>
Date: Mon, 5 Mar 2007 16:27:45 +0000
Cc: Alexander Sirotkin <>,
In-reply-to: <>
Original-recipient: rfc822;
References: <> <>
User-agent: Mutt/
On Mon, Mar 05, 2007 at 09:51:25PM +0530, Rajat Jain wrote:

> 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.

In general your're right but for this particular purpose for example an
i386-linux-objdump will do the job for 32-bit big and little endian
MIPS ELF.  It will - depending on the exact binutils configuration - fail
with an error message for 64-bit ELF.


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