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.

4.1.1 See also<br />

Image structure and generation<br />

The following figure shows <strong>the</strong> relationship between <strong>the</strong> views at each link stage:<br />

ELF image file view<br />

ELF Header<br />

Program Header Table<br />

Segment 1 (Load Region 1)<br />

Output sections 1.1<br />

Output sections 1.2<br />

Output sections 1.3<br />

Segment 2 (Load Region 2)<br />

Output section 2.1<br />

...<br />

Section Header Table<br />

(optional)<br />

Tasks<br />

Introducing <strong>the</strong> <strong>ARM</strong> <strong>Compiler</strong> <strong>toolchain</strong>:<br />

• Changing to <strong>the</strong> 64-bit linker on page 2-7.<br />

<strong>Linker</strong> view ELF object file view<br />

ELF Header<br />

Program Header Table<br />

Load Region 1<br />

Execution Region 1<br />

Load Region 2<br />

Execution Region 2<br />

Section Header Table<br />

(optional)<br />

ELF Header<br />

Program Header Table<br />

(optional)<br />

Input Section 1.1.1<br />

Input Section 1.1.2<br />

Input Section 1.2.1<br />

Input Section 1.3.1<br />

Section Header Table<br />

Figure 4-1 Relationship between sections, regions, and segments<br />

Concepts<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 />

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

ID080411 Non-Confidential<br />

...<br />

...<br />

...<br />

Input Section 1.3.2<br />

...<br />

Input Section 2.1.1<br />

Input Section 2.1.2<br />

Input Section 2.1.3<br />

...<br />

Input Section n

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

Saved successfully!

Ooh no, something went wrong!