Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [coldfire-gnu-discuss] The different size is gotten from m68k-elf-nm and m68k-elf-readelf


  • To: Ha Luong <haluongvn@xxxxxxxxx>
  • Subject: Re: [coldfire-gnu-discuss] The different size is gotten from m68k-elf-nm and m68k-elf-readelf
  • From: Daniel Jacobowitz <dan@xxxxxxxxxxxxxxxx>
  • Date: Tue, 25 Mar 2008 07:31:07 -0400

On Tue, Mar 25, 2008 at 05:16:10PM +0700, Ha Luong wrote:
> Dear Daniel Jacobowitz,
> 
> Could you please told me the file size and mem size mean?

Every allocatable ("A" flag) section, and every LOAD segment, takes a
certain amount of space in the file and a certain amount in memory.
Sometimes the memory size is bigger; the difference is filled with
zeroes for uninitialized variables.

-- 
Daniel Jacobowitz
CodeSourcery