[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: [LI] size



On Fri, Dec 03, 1999 at 03:10:55PM +0530, Sharad Joshi wrote:
> Hio,
> 
> Output of the 'size' command for an object file:
> 
> bash$ size x.o
> text    data    bss     dec     hex     filename
> 153     21      0       174     ae      x.o
> bash$ ls -l x.o
> -rw-r--r--   1 sharadj  users        1172 Dec  3 15:01 x.o
> 
> Can anyone tell me, what does this 'size' quotes the figures (text,
> data, bss) in? I mean number of words, instructions or what. Man is not
> quite explicit.
> 

Bytes. Do  

$ objdump -j '.data' -s x.o

to see it for yourself.

	-Arun

--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.