When -show=symbol is specified, the addresses, sizes, and types of externally defined symbols or static internally defined symbols are output in the order of address. When -show=reference is specified, the symbol reference counts and optimization information are also output. The following figure shows an example of symbol information output.
*** Symbol List *** SECTION=(1) (2) (3) (4) (5) FILE= START END SIZE (6) (7) (8) (9) (10) (11) SYMBOL ADDR SIZE INFO COUNTS OPT SECTION=P FILE=test.obj 00000000 00000428 428 _main 00000000 2 func ,g 0 _malloc 00000000 32 func ,l 0 FILE=mvn3 00000428 00000490 68 $MVN#3 00000428 0 none ,g 0 |
Start address of a section included in the file indicated by (2) above |
|
End address of a section included in the file indicated by (2) above |
|
Section size of a section included in the file indicated by (2) above |
|
**OVER** being displayed here indicates that the address exceeded the range that can be expressed by 32 bits. |
|
Symbol reference count only when -show=reference is specified. * is output when show=reference is not specified. |
|
Optimization information as shown below. ch: Symbol modified by optimization |
When the -show=struct option is specified, the addresses for the structure and union members that are defined in the source file for which the -debug option was specified at compilation are output. The output example of the symbol information is shown below.