[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Size of .comm section not reported by objdump/size
From: |
Ian Lance Taylor |
Subject: |
Re: Size of .comm section not reported by objdump/size |
Date: |
20 Aug 2004 10:37:48 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
"Jon Beniston" <address@hidden> writes:
> It appears as though objdump does not display information for data in
> .comm section.
That is correct. That is because there is no .comm section. Instead
this information is represented by defining a common symbol. A common
symbol has a name and a size. The linker will allocate memory for it
when producing a fully linked executable, or when invoked with the -d
option. A common symbol may be replaced by a fully defined symbol;
look at the documentation for the --warn-common option.
Common symbols will be displayed by nm or objdump -t.
Ian