Keil™, An ARM® Company

BL51 User's Guide

NOSORTSIZE Linker Directive

Abbreviation NOSO
Arguments None.
Default Sections are sorted by size before being located.
µVision Options — BL51 Misc — Misc Controls.
Description 

The NOSORTSIZE directive disables segment size sorting by the linker. By default, the linker sorts sections by size (largest to smallest) before locating them. This ensures fewer memory gaps and reduces overall memory consumption.

Even when using the NOSORTSIZE directive the linker even processes the segments according their type as explained under Locating Segments.

Example 
BL51 file1.obj NOSORTSIZE

Related Knowledgebase Articles