You copied the Doc URL to your clipboard.
--api, --no_api
Enables and disables API section sorting. API sections are the sections that are called the most within a region.
Usage
In large region mode the API sections are extracted from the region and then inserted closest to the hotspots of the calling sections. This minimises the number of veneers generated.
Default
The default is --no_api
. The linker automatically switches to
--api
if at least one execution region contains more code than the
smallest inter-section branch. The smallest inter-section branch depends on the code in the
region and the target processor:
- 128MB
- Execution region contains only A64 instructions.
- 32MB
- Execution region contains only A32 instructions.
- 16MB
- Execution region contains 32-bit T32 instructions.
- 4MB
- Execution region contains only 16-bit T32 instructions.