-map

Generates a text file that describes the contents of the linker's output file.

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

The options for the keyword are:

closure

Displays the symbol closures.

unused

Displays the unused symbols.

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.