Everything
3.2.9 Cross reference information

When the -show=xreference option is specified, the reference information of symbols (cross reference information) is output.

The output example of the cross reference information is shown below.

*** Cross Reference List ***
 
(1)  (2)        (3)            (4)       (5)
No   Unit Name  Global.Symbol  Location  External Information
0001 sample1
     SECTION=.text
                _main
                               00000100
                _func_01
                               00000118
     SECTION=.data
                _gval3
                               000f0400  0003(00000032:.text)
                                         0003(00000038:.text)
     SECTION=.bss
                _gval1
                               000f0404  0001(0000001a:.text)
                                         0001(00000020:.text)
                _gval2
                               000f0408  0002(00000026:.text)
                                         0002(0000002c:.text)
0002 sample2
     SECTION=.text
                _func02
                               00000124  0001(0000000a:.text)
0003 sample3
     SECTION=.text
                _func03
                               00000130  0001(00000010:.text)

Number

Description

(1)

Unit number

The identification number in object units is output.

(2)

Object name

The object name is output in the order of input when linking.

(3)

Symbol name

The symbol name is output in the ascending order of allocation address for each section.

(4)

Symbol allocation address

The symbol allocation address is output.

When the -form=relocate option is specified, this is a relative value from the start of the section.

(5)

Address of external symbol that has been referenced

The address of the external symbol that has been referenced is output.

Unit number (address or offset in section:section name)