SPNU118Z September 1995 – March 2023 66AK2E05 , 66AK2H06 , 66AK2H12 , 66AK2H14 , AM1705 , AM1707 , AM1802 , AM1806 , AM1808 , AM1810 , AM5K2E04 , OMAP-L132 , OMAP-L137 , OMAP-L138 , SM470R1B1M-HT , TMS470R1A288 , TMS470R1A384 , TMS470R1A64 , TMS470R1B1M , TMS470R1B512 , TMS470R1B768
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:
R | specifies that the memory can be read. | ||
W | specifies that the memory can be written to. | ||
X | specifies that the memory can contain executable code. | ||
I | specifies that the memory can be initialized. |
For more information about the SECTIONS directive, see Section 8.5.5.
The following example links file1.c.obj and file2.c.obj and creates a map file called map.out:
armcl --run_linker file1.c.obj file2.c.obj --map_file=map.out
Output Map File, demo.map shows an example of a map file.