Everything
3.2.5 Link map information

Start/end addresses, size, and type of each section are output in the order of address.

The output example of the link map information is shown below.

*** Mapping List ***
 
(1)                                (2)        (3)         (4)     (5)
SECTION                            START      END         SIZE    ALIGN
 
.textf
                                  00000100  0000013b        3c    1
.data
                                  000f0400  000f0403         4    2
.bss
                                  000f0404  000f040b         8    2

Number

Description

(1)

Section name

The name of the section is output.

(2)

Start address

The start address is output.

This is expressed in a hexadecimal number.

(3)

End address

The end address is output.

This is expressed in a hexadecimal number.

(4)

Section size

The section size is output (byte).

This is expressed in a hexadecimal number.

(5)

Section alignment size

The section alignment size is output.

 

When -show=relocation_attribute is specified, the relocation attribute corresponding to the section is output. An output example of the relocation attribute is shown below.

*** Mapping List ***
 
SECTION                            START      END         SIZE    ALIGN    ATTRIBUTE
                                                                           (1)
 
.textf
                                  00000100  0000013b        3c    1        TEXTF
.data
                                  000f0400  000f0403         4    2        DATA
.bss
                                  000f0404  000f040b         8    2        BSS

Number

Description

(1)

Relocation attribute

The relocation attribute of the section is output.

It is output as shown below in response to the code written in the assembly language.

Relocation attribute

CALLT0

TEXT

TEXTF

TEXTF_UNIT64KP

AT

CONST

CONSTF

DATA

DATAF

SDATA

DATA_AT

BSS

BSSF

SBSS

BSS_AT

OPT_BYTE

SECUR_ID

OTHER

Link map information

CALLT0

TEXT

TEXTF

TEXTF_UNIT64KP

TEXT_AT

CONST

CONSTF

DATA

DATAF

SDATA

DATA_AT

BSS

BSSF

SBSS

BSS_AT

OPT_BYTE

SECUR_ID

OTHER