Keil™, An ARM® Company

RealView Linker and Utilities Guide

Formal syntax of the scatter-loading description file

5.2. Formal syntax of the scatter-loading description file

A scatter-loading description file is a text file that describes the memory map of the target embedded product to the linker. The file extension for the description file is not significant if you are using the linker from the command line. The description file enables you to specify the:

  • load address and maximum size of each load region

  • attributes of each load region

  • execution regions derived from each load region

  • execution address and maximum size of each execution region

  • input sections for each execution region.

The description file format reflects the hierarchy of load regions, execution regions, and input sections.

Note

How input sections are assigned to regions is completely independent of the order in which selection patterns are written in the scatter-loading description file. The best match between selection patterns and either file/section names or section attributes wins. See Resolving multiple matches.

Copyright © 2007 ARM Limited. All rights reserved.ARM DUI 0377A