Keil Logo

NOSORTSIZE Linker Directive

Abbreviation

NOSO

Arguments

None.

Default

Sections are sorted by size before being located.

µVision

Options — L166 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 Sections.

Example
L166 file1.obj NOSORTSIZE
  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.