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.7 Region name values when not scatter-loading<br />

7.7.1 See also<br />

Accessing and managing symbols with armlink<br />

If you are not using scatter-loading, <strong>the</strong> linker uses region name values of:<br />

• ER_RO, for <strong>the</strong> read-only execution region<br />

• ER_RW, for <strong>the</strong> read-write execution region<br />

• ER_ZI, for <strong>the</strong> zero-initialized execution region.<br />

You can insert <strong>the</strong>se names into <strong>the</strong> following symbols to obtain <strong>the</strong> required address:<br />

• Image$$ execution region symbols<br />

• Load$$ execution region symbols.<br />

For example, Load$$ER_RO$$Base.<br />

Note<br />

• The ZI output sections of an image are not created statically, but are automatically created<br />

dynamically at runtime. Therefore, <strong>the</strong>re is no load address symbol for ZI output sections.<br />

• It is recommended that you use region-related symbols in preference to section-related<br />

symbols.<br />

Concepts<br />

• Region-related symbols on page 7-5<br />

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

• Load$$ execution region symbols on page 7-7<br />

• Section-related symbols on page 7-14.<br />

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

ID080411 Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!