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

ios - Assigning a value out of array of arrays, using section in Xcode -

javascript - Website analyzer -