The different size is gotten from m68k-elf-nm and m68k-elf-readelf

Ha Luong haluongvn at gmail.com
Mon Mar 24 07:32:23 UTC 2008


Dear Sir,

I used m68k-elf-readelf and m68k-elf-nm for calculating the elf size. But
the total size from m68k-elf-readelf is different to its from m68k-elf-nm.
I used
The total size from m68k-elf-readelf = the total of size column.
with the command line option "m68k-elf-readelf -S xxx.elf"

And The total size from m68k-elf-nm = the total of column 2
with the command line option "m68k-elf-nm.exe -S --print-size --print-armap
--size-sort xxx.elf"

I double checked by used m68k-elf-objdump by calculating each variable and
each function. I saw its total size is equal The total size from
m68k-elf-nm.

I don't know why the total size from m68k-elf-readelf is different to its
from m68k-elf-nm. Could you please help me?

Thanks,
Ha Luong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/coldfire-gnu-discuss/attachments/20080324/5c77af6f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.zip
Type: application/zip
Size: 210347 bytes
Desc: not available
URL: <http://sourcerytools.com/pipermail/coldfire-gnu-discuss/attachments/20080324/5c77af6f/attachment.zip>


More information about the coldfire-gnu-discuss mailing list