linux - Explanation of all columns in size command output? -


after executing size command got following output:

size main.out            text    data     bss     dec     hex filename          1207     552       8    1767     6e7 main.out 

i understood meaning of text, data , bss segment.

what meaning of dec , hex columns?

text gives size of text segment (or code segment).

data gives size of data segment.

bss gives size of block started symbol segment.

dec size of text, data , bss size added in decimal, , hex same number in hexadecimal.


Comments

Popular posts from this blog

python - Best design pattern for collection of objects -

go - serving up pdfs using golang -

python - django admin: changing the way a field (w/ relationship to another model) is submitted on a form so that it can be submitted multiple times -