linux-mips
[Top] [All Lists]

Re: 0 function size

To: linux-mips@linux-mips.org
Subject: Re: 0 function size
From: "Alexander Sirotkin" <demiourgos@gmail.com>
Date: Tue, 6 Mar 2007 13:06:25 +0200
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=odHefe32hztH4osQHubEk7v7CPspyKT0sF1X6iX8zZmyWJ4OGTadmuVFXACxvFr786pCf46Ab04i7D5np2YkioyehCK8fGj/gXnt7A+8eDMaAxVpicsVjDRMo+U+F+fpCwMeMH31bfeaxb25X3L1LafNovFiE1uKuZlDFhe1Tuc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=AB8aF3E56A72N+hsI6kGuBGEA+MrYrvCgWOPu5DVyf9rj5vCRcAUgOc0MESaouJhrdB89IPSo/X2WrDZ47ysT8tyfSqwo82wvh2caUgVgGUXYJpnpc8DTsyVlyVyPkjp1sf6R8sBQujh4te9QE5ogaku7QGI/hh6emId41dlUa8=
In-reply-to: <20070305162745.GB786@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <c4357ccd0703050619r6b5a7452j6b582687bf1794d3@mail.gmail.com> <b115cb5f0703050821v50667580oa8dfa26412c05b08@mail.gmail.com> <20070305162745.GB786@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
On 3/5/07, Ralf Baechle <ralf@linux-mips.org> wrote:
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.

  Ralf


Apparently it is a bug in MIPS SDE toolchain, even in the latest version 6.05.
With emdebian toolchain it works just fine.

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