You copied the Doc URL to your clipboard.

ARM Compiler Software Development Guide : Manual overlay support

Manual overlay support

To manually allocate code sections to overlay regions, you must set up a scatter file to locate the overlays.

The manual overlay mechanism consists of:

  • The OVERLAY attribute for load regions and execution regions. Use this in a scatter file to indicate regions of memory where the linker assigns the overlay sections for loading into at runtime.
  • The following armlink command-line options to add extra debug information to the image:

    • --emit_debug_overlay_relocs.
    • --emit_debug_overlay_section.

    These permit an overlay-aware debugger to track which overlay is currently active.

This section contains the following subsections: