|Non-Confidential||PDF version||ARM DUI0474M|
|Home > Scatter-loading Features > Placement of veneer input sections in a scatter file|
You can place veneers at a specific location with a linker-generated symbol.
Veneers allow switching between ARM and Thumb
code or allow a longer program jump than can be specified in a single instruction. To place
veneers at a specific location include the linker-generated symbol
Veneer$$Code in a scatter file. At most, one execution region in the scatter
file can have the
*(Veneer$$Code) section selector.
If it is safe to do so, the linker places veneer input sections into the
region identified by the
*(Veneer$$Code) section selector. It might not be possible for a veneer input
section to be assigned to the region because of address range problems or execution region
size limitations. If the veneer cannot be added to the specified region, it is added to the
execution region containing the relocated input section that generated the veneer.
*(IWV$$Code) in scatter files from earlier versions of ARM
tools are automatically translated into
*(Veneer$$Code) in new descriptions.
*(Veneer$$Code) is ignored when the amount of code in an execution region
exceeds 4MB of 16-bit encoded Thumb code, 16MB of 32-bit encoded Thumb code, and 32MB of