06.02.2013 Views

ARM Compiler toolchain Using the Linker - ARM Information Center

ARM Compiler toolchain Using the Linker - ARM Information Center

ARM Compiler toolchain Using the Linker - ARM Information Center

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4.15 About ordering execution regions containing Thumb code<br />

4.15.1 See also<br />

Image structure and generation<br />

The Thumb branch range is 4MB. When an execution region contains Thumb code that exceeds<br />

4MB, armlink attempts to order sections that are at a similar average call depth and to place <strong>the</strong><br />

most commonly called sections centrally. This helps to minimize <strong>the</strong> number of veneers<br />

generated.<br />

The Thumb-2 branch range is 16MB. Section re-ordering is only required if that limit is<br />

exceeded.<br />

To disable section re-ordering, use <strong>the</strong> --no_largeregions command-line option.<br />

Concepts<br />

• Section placement with <strong>the</strong> linker on page 4-19<br />

• Overview of veneers on page 4-26.<br />

Reference<br />

<strong>Linker</strong> Reference:<br />

• --largeregions, --no_largeregions on page 2-92.<br />

<strong>ARM</strong> DUI 0474C Copyright © 2010-2011 <strong>ARM</strong>. All rights reserved. 4-25<br />

ID080411 Non-Confidential

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!