Linker options for getting information about images

You can use following options to get information about how your image is generated by the linker:

--info=topic[,topic,...]

Displays information about various topics.

--map

Displays the image memory map, and contains the address and the size of each load region, execution region, and input section in the image, including linker-generated input sections. It also shows how RW data compression is applied.

--section_index_display

Use with --map to change the display of the index column.

--show_cmdline

Outputs the command-line used by the linker.

--symbols

Displays a list of each local and global symbol used in the link step, and its value.

--verbose

Displays detailed information about the link operation, including the objects that are included and the libraries that contain them.

--xref

Displays a list of all cross-references between input sections.

--xrefdbg

Displays a list of all cross-references between input debug sections.

The information can be written to a file using the --list=file option.

Show/hideSee also

Copyright © 2010-2011 ARM. All rights reserved.ARM DUI 0474C
Non-ConfidentialID080411