On 3/5/07, Alexander Sirotkin <demiourgos@xxxxxxxxx> 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