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.

Chapter 7<br />

Accessing and managing symbols with armlink<br />

The following topics describe how to access and manage symbols with <strong>the</strong> linker, armlink:<br />

Tasks<br />

• About mapping symbols on page 7-3<br />

• Accessing linker-defined symbols on page 7-4<br />

• <strong>Using</strong> scatter files on page 7-11<br />

• Importing linker-defined symbols in C and C++ on page 7-12<br />

• Importing linker-defined symbols in <strong>ARM</strong> assembler on page 7-13<br />

• Accessing symbols in ano<strong>the</strong>r image on page 7-17<br />

• Creating a symdefs file on page 7-18<br />

• Outputting a subset of <strong>the</strong> global symbols on page 7-19<br />

• Reading a symdefs file on page 7-20<br />

• Specifying steering files on <strong>the</strong> linker command-line on page 7-24<br />

• Hiding and renaming global symbols with a steering file on page 7-27<br />

• <strong>Using</strong> $Super$$ and $Sub$$ to patch symbol definitions on page 7-28.<br />

Concepts<br />

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

• Region name values when not scatter-loading on page 7-10<br />

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

• What is a steering file? on page 7-23.<br />

Reference<br />

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

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

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

ID080411 Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!