9.3 --any_sort_order=order

Controls the sort order of input sections that are placed using the .ANY module selector.

Syntax

--any_sort_order=order
where order is one of the following:
descending_size
Sort input sections in descending size order.
cmdline
Sort input sections by command-line index.
By default, sections that have the same properties are resolved using the creation index. You can use the --tiebreaker command-line option to resolve sections by the order they appear on the linker command-line.
Use this option with the --scatter option.

Usage

The sorting governs the order that sections are processed during .ANY assignment. Normal scatter-loading rules, for example RO before RW, are obeyed after the sections are assigned to regions.

Default

The default option is descending_size.
Related concepts
7.4 Placement of unassigned sections with the .ANY module selector
7.4.7 Examples of using sorting algorithms for .ANY sections
Related reference
9.1 --any_contingency
9.2 --any_placement=algorithm
9.55 --info=topic[,topic,…]
9.102 --scatter=filename
Non-ConfidentialPDF file icon PDF versionARM DUI0377G
Copyright © 2007, 2008, 2011, 2012, 2014, 2015 ARM. All rights reserved.