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 4<br />

Image structure and generation<br />

The following topics describe <strong>the</strong> image structure and <strong>the</strong> functionality available in <strong>the</strong> <strong>ARM</strong><br />

linker, armlink, to generate images:<br />

Tasks<br />

• <strong>Using</strong> command-line options to control <strong>the</strong> generation of C++ exception tables on page 4-31<br />

• Controlling how <strong>the</strong> linker searches for <strong>the</strong> <strong>ARM</strong> standard libraries on page 4-36<br />

• Specifying user libraries when linking on page 4-38.<br />

Concepts<br />

• The image structure on page 4-3<br />

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

• Load view and execution view of an image on page 4-6<br />

• Methods of specifying an image memory map with <strong>the</strong> linker on page 4-8<br />

• Types of simple image on page 4-10<br />

• Type 1 image, one load region and contiguous execution regions on page 4-11<br />

• Type 2 image, one load region and non-contiguous execution regions on page 4-13<br />

• Type 3 image, two load regions and non-contiguous execution regions on page 4-15<br />

• Image entry points on page 4-17<br />

• About specifying an initial entry point on page 4-18<br />

• Section placement with <strong>the</strong> linker on page 4-19<br />

• Placing sections with FIRST and LAST attributes on page 4-21<br />

• Section alignment with <strong>the</strong> linker on page 4-22<br />

• Demand paging on page 4-23<br />

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

ID080411 Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!