--any_sort_order=order

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

Show/hideSyntax

--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.

Show/hideUsage

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

Show/hideDefault

The default option is descending_size.

Show/hideSee also

Copyright © 2008, 2011-2012 ARM. All rights reserved.ARM DUI 0458C
Non-ConfidentialID062912