| >He wants to know each parameter's unit. Is it byte?
Yes, it is number of bytes.
>And, what does this parameter mean?
An executable file is made up of several segments. One of the segments
is the text segment, which contains the executable object code and
other read only data.
In your file, that segment is :
text
15384
bytes long
Another segment is the data segment, which contains initialized, read/write
data:
In your file, that segment is:
data
8192
bytes long.
The last segment is the unitialized data segment, which is called the
bss segment (I think that stands for Block Started by a Symbol, but
I could be wrong - it's an ancient term).
Your file doesn't have any bss data:
bss
0
The last two numbers are the total byte size of the non-symbol table parts of
the file, in decimal and hex format:
dec hex
24576 6000
If you use the strip command to remove the symbol table from a.out, you'll
find that the byte size of the file should match the number reported by
the size command.
|