3.2.4 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
 
.text
                                  00000000  0000003b        3c    2
.data
                                  fe600006  fe600003         4    4
.bss
                                  fe600004  fe60000b         8    4

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 ***
 
                                                                           (6)
SECTION                            START      END         SIZE    ALIGN    ATTRIBUTE
.text
                                  00000100  0000013b        3c    2        TEXT
.data
                                  000f0400  000f0403        4     4        DATA
.bss
                                  000f0404  000f040b        8     4        BSS

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.

(6)

Relocation attribute type of section

The relocation attribute of the section which is categorized into the five types of TEXT, CONST, DATA, BSS and OTHER is output.