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

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

The NOSORTSIZE directive disables segment size sorting. Use of this directive may cause you program size to increase.

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

Example
BL51 file1.obj NOSORTSIZE

Related Knowledgebase Articles