Create a Map File (--map_file Option)

The syntax for the --map_file option is:

--map_file=filename

The linker map describes:

The map file contains the name of the output module and the entry point; it can also contain up to three tables:

The following example links file1.obj and file2.obj and creates a map file called map.out:

cl6x --run_linker file1.obj file2.obj --map_file=map.out

Example 26 shows an example of a map file.