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.

7.13 Input section symbols<br />

7.13.1 See also<br />

Accessing and managing symbols with armlink<br />

Input section symbols are generated by <strong>the</strong> linker for every input section present in <strong>the</strong> image.<br />

The following table shows <strong>the</strong> input section symbols:<br />

Symbol Section type Description<br />

If your code refers to <strong>the</strong> input-section symbols, it is assumed that you expect all <strong>the</strong> input<br />

sections in <strong>the</strong> image with <strong>the</strong> same name to be placed contiguously in <strong>the</strong> image memory map.<br />

If your scatter file places input sections non-contiguously, <strong>the</strong> linker issues an error. This is<br />

because <strong>the</strong> use of <strong>the</strong> base and limit symbols over non-contiguous memory usually produces<br />

unpredictable and undesirable effects.<br />

Tasks<br />

• Chapter 8 <strong>Using</strong> scatter files.<br />

Table 7-5 Section-related symbols<br />

SectionName$$Base Input Address of <strong>the</strong> start of <strong>the</strong> consolidated section<br />

called SectionName.<br />

SectionName$$Length Input Length of <strong>the</strong> consolidated section called<br />

SectionName (in bytes).<br />

SectionName$$Limit Input Address of <strong>the</strong> byte beyond <strong>the</strong> end of <strong>the</strong><br />

consolidated section called SectionName.<br />

Concepts<br />

• Input sections, output sections, regions, and Program Segments on page 4-5.<br />

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

ID080411 Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!