| |||
| Home > Using the Basic Linker Functionality > Specifying the image structure > Specifying an image memory map | |||
An image can consist of any number of regions and output sections. Any number of these regions can have different load and execution addresses. To construct the memory map of an image, armlink must have information about:
How input sections are grouped into output sections and regions.
Where image regions are to be located in the memory maps.
Depending on the complexity of the memory maps of the image, there are two ways to pass this information to armlink:
The following options can be used for simple cases where an image has only one or two load regions and up to three execution regions:
-ro-base
-rw-base
-split
-ropi
-rwpi
For more information, see Using command-line options to create simple images.