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.

8.31.1 See also<br />

In this example, <strong>the</strong> linker generates <strong>the</strong> symbols:<br />

Image$$STACK$$ZI$$Base = 0x7f0000<br />

Image$$STACK$$ZI$$Limit = 0x800000<br />

Image$$STACK$$ZI$$Length = 0x10000<br />

Image$$HEAP$$ZI$$Base = 0x800000<br />

Image$$HEAP$$ZI$$Limit = 0x810000<br />

Image$$HEAP$$ZI$$Length = 0x10000<br />

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

Figure 8-4 Reserving a region for <strong>the</strong> stack<br />

Note<br />

The EMPTY attribute applies only to an execution region. The linker generates a warning and<br />

ignores an EMPTY attribute used in a load region definition.<br />

The linker checks that <strong>the</strong> address space used for <strong>the</strong> EMPTY region does not coincide with any<br />

o<strong>the</strong>r execution region.<br />

Concepts<br />

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

• About execution region descriptions on page 4-8.<br />

Reference<br />

• Image$$ execution region symbols on page 7-6.<br />

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

• Execution region attributes on page 4-11.<br />

0x810000<br />

0x800000<br />

0x7F0000<br />

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

ID080411 Non-Confidential<br />

Heap<br />

Stack<br />

Limit<br />

Base Limit<br />

Base

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

Saved successfully!

Ooh no, something went wrong!