|Non-Confidential||PDF version||ARM 100748_0607_00_en|
|Home > Mapping Code and Data to the Target > Placing unassigned sections|
The linker attempts to place input sections into specific execution regions. For any input sections that cannot be resolved, and where the placement of those sections is not important, you can specify where the linker is to place them.
To place sections that are not automatically assigned to specific execution regions, use
.ANY module selector in a scatter file.
Usually, a single
.ANY selector is
equivalent to using the
* module selector. However, unlike
*, you can specify
in multiple execution regions.
The linker has default rules for placing unassigned sections when you specify multiple
.ANY selectors. However, you can override the default rules using the
following command-line options:
--any_contingencyto permit extra space in any execution regions containing
.ANYsections for linker-generated content such as veneers and alignment padding.
--any_placementto provide more control over the placement of unassigned sections.
--any_sort_orderto control the sort order of unassigned input sections.
In a scatter file, you can also:
.ANYselector. This gives you more control over how the unassigned sections are divided between multiple execution regions. You can assign the same priority to more than one execution region.