3.2.1 Structure of link map

The structure and contents of the link map are shown below.

Output Information

Description

-show Option Specification

When -show Option Is Omitted

Header information

Version information of the optimizing linker and time of linkage

-

Output

Option information

Option strings specified by a command line or subcommand file

-

Output

Error information

Error message

-

Output

Link map information

Section name, start/end addresses, size, and type

-

Output

When -show=relocation_attribute is specified, the relocation attribute is output.

-show=relocation_attribute

No output

Total section size

Total sizes of RAM, ROM, and program sections

-show=total_size

No output

Symbol information

Static defined symbol name, address, size, type (in the order of address), and whether optimization is applied

When the -show=reference is specified, the reference count of each symbol is also output.

When -show=struct is specified, information on the structure and union members is output.

-show=symbol

-show=reference

-show=struct

No output

Contents of the function list

Contents of the function list for use in detecting illegal indirect function calls

-show=cfi

No output

Cross reference information

Symbol reference information

-show=xreference

No output

Vector table address information

Contents of the vector table addresses

-show=vector

No output

CRC information

CRC operation result and its output address

-

Always output when the -crc option is specified

Caution

The -show option is valid when the -list option is specified.
See "-SHow" for details about the -show option.