You copied the Doc URL to your clipboard.

About ordering execution regions containing Thumb code

The branch range for 16-bit encoded Thumb instructions is 4MB. When an execution region contains Thumb code that exceeds 4MB, armlink attempts to order sections that are at a similar average call depth and to place the most commonly called sections centrally. This helps to minimize the number of veneers generated.

The branch range for 32-bit encoded Thumb instructions is 16MB. Section re-ordering is only required if that limit is exceeded.

To disable section re-ordering, use the --no_largeregions command-line option.

Was this page helpful? Yes No