3.1.3. 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:

Grouping

How input sections are grouped into output sections and regions.

Placement

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:

Using command-line options

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.

Copyright © 2002 ARM Limited. All rights reserved.ARM DUI 0212A
Non-Confidential