Keil™, An ARM® Company

RealView Linker and Utilities Guide

Symbols defined for scatter-loading

5.1.1. Symbols defined for scatter-loading

When the linker creates an image using a scatter-loading description file, it creates some region-related symbols. These are described in Region-related symbols. The linker creates these special symbols only if your code references them.

Undefined symbols

Be aware, the following symbols are not defined when a scatter-loading description file is used:

  • Image$$RW$$Base
    
  • Image$$RW$$Limit
    
  • Image$$RO$$Base
    
  • Image$$RO$$Limit
    
  • Image$$ZI$$Base
    
  • Image$$ZI$$Limit
    

See Accessing linker-defined symbols for more information.

If you use a scatter-loading description file but do not specify any special region names and do not re-implement __user_initial_stackheap(), the library generates an error message:

Error: L6915E: Library reports error: scatter‑load file declares no heap or stack regions and __user_initial_stackheap is not defined.

See Chapter 2 The C and C++ Libraries in the Libraries Guide for more information on library memory models.

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