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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

8.17 Selecting veneer input sections in scatter-loading descriptions<br />

8.17.1 See also<br />

<strong>Using</strong> scatter files<br />

Veneers are used to switch between <strong>ARM</strong> and Thumb code or to perform a longer program jump<br />

than can be specified in a single instruction. You can place veneers at a specific location by<br />

including <strong>the</strong> linker-generated symbol Veneer$$Code in a scatter file. At most, one execution<br />

region in <strong>the</strong> scatter file can have <strong>the</strong> *(Veneer$$Code) section selector.<br />

If it is safe to do so, <strong>the</strong> linker places veneer input sections into <strong>the</strong> region identified by <strong>the</strong><br />

*(Veneer$$Code) section selector. It might not be possible for a veneer input section to be<br />

assigned to <strong>the</strong> region because of address range problems or execution region size limitations.<br />

If <strong>the</strong> veneer cannot be added to <strong>the</strong> specified region, it is added to <strong>the</strong> execution region<br />

containing <strong>the</strong> relocated input section that generated <strong>the</strong> veneer.<br />

Note<br />

Instances of *(IWV$$Code) in scatter files from earlier versions of <strong>ARM</strong> tools are automatically<br />

translated into *(Veneer$$Code). Use *(Veneer$$Code) in new descriptions.<br />

*(Veneer$$Code) is ignored when <strong>the</strong> amount of code in an execution region exceeds 4Mb of<br />

Thumb code, 16Mb of Thumb-2 code, and 32Mb of <strong>ARM</strong> code.<br />

Concepts<br />

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

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

ID080411 Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!