-map

Generates a link map file.

Syntax
  -map [keyword[,...]]
  
  

The choices for keyword are:

closure

Calculates the symbol closures.

unused

Lists the unused symbols.

keep

Keeps the link map on failure.

Remarks

If multiple symbol =.; directives exist for the same symbol in the linker command file, the symbol appears multiple times in the map file. The last entry of a symbol in the map file always has the actual symbol address.

This is a linker option.