linux-mips
[Top] [All Lists]

Re: 0 function size

To: "Ralf Baechle" <ralf@linux-mips.org>
Subject: Re: 0 function size
From: "Alexander Sirotkin" <demiourgos@gmail.com>
Date: Mon, 5 Mar 2007 18:28:42 +0200
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=TheGobGUAstWxt8Za6z/ZxTVW7j2cU2llnj+GbF6k56nzcpx0mh1EC+ez/EroHk2vNlzjy6djKohIim9plywEbV9+Bd73om3ETMpz3f6qCOkOYLd6w9IW48AVMVyCsg/OXITKe0ulKBESUr4r319EfXn5u+HvDkZ9gaXATsVeEs=
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=nM1BC76lNgbK60mv1YN+UhG9Y9JZMIJyNV/oy1tFi/7Ie3a1KgY6EJgiiTxcYKz4s/QoC4qDPxIJiLNxDUlilU8jg5DnI9pyot4/nUb/HkOM61Gbs1Gz+ICZU9hOnvSyogOqRpv/p2zhHnuMdKYp7cdH2MUogXuesyGLsIUSSho=
In-reply-to: <20070305162028.GA786@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <c4357ccd0703050619r6b5a7452j6b582687bf1794d3@mail.gmail.com> <20070305162028.GA786@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 04:19:18PM +0200, Alexander Sirotkin 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 ?

Works fine here:

801f3f10 l     F .text  00000074 rekey_seq_generator
80327f2c l     O .data  00000028 rekey_work
80345dd0 l     F .init.text     00000020 seqgen_init
801f3fd0 l     F .text  000000f4 uuid_strategy
801f40c4 l     F .text  0000012c proc_do_uuid
801f42e0 l     F .text  0000012c extract_entropy_user
801f440c l     F .text  0000000c urandom_read
801f4418 l     F .text  000000fc random_write
801f4514 l     F .text  000001f4 random_ioctl
801f484c l     F .text  00000090 random_poll
801f4ac8 l     F .text  00000190 random_read
80327f64 l     O .data  00000004 sysctl_poolsize

So seems to be a defect with your particular toolchain or objdump or readelf.
Yeah, it is indeed a problem with the particular toolchain I was using. Thanks.

  Ralf


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