Keil Logo

Locating Sections

After the sections are combined the L166 Linker determines their location in memory using the section type, alignmant type, and information specified by the SECTIONS, CLASSES, and GROUPS directives.

The L166 Linker allocates memory in the following order:

  1. Interrupt vectors.
  2. Absolute register banks.
  3. Absolute sections (specifies with the at attribute).
  4. Sections specified in the L166 sections directive.
  5. Other register banks.
  6. Bit-addressable data sections.
  7. Bit sections.
  8. Classes whose range is smaller than a data page (16K).
  9. Groups specified with the L166 groups directive.
  10. Groups containing an absolute section.
  11. Other groups.
  12. Sections with a class name.
  13. Other sections.
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.