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.

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

Example 8-29 Scatter-loaded sections in <strong>the</strong> ELF image<br />

...<br />

========================================================================<br />

** Program header #0<br />

Type : PT_LOAD (1)<br />

File Offset : 52 (0x34)<br />

Virtual Addr : 0x00008000<br />

Physical Addr : 0x00008000<br />

Size in file : 764 bytes (0x2fc)<br />

Size in memory: 2140 bytes (0x85c)<br />

Flags : PF_X + PF_W + PF_R + PF_<strong>ARM</strong>_ENTRY (0x80000007)<br />

Alignment : 4<br />

========================================================================<br />

** Section #1<br />

Name : EXEC_ROM<br />

...<br />

Addr : 0x00008000<br />

File Offset : 52 (0x34)<br />

Size : 740 bytes (0x2e4)<br />

...<br />

====================================<br />

** Section #2<br />

Name : RAM<br />

...<br />

Addr : 0x000082e4<br />

File Offset : 792 (0x318)<br />

Size : 20 bytes (0x14)<br />

...<br />

====================================<br />

** Section #3<br />

Name : RAM<br />

...<br />

Addr : 0x000082f8<br />

File Offset : 812 (0x32c)<br />

Size : 96 bytes (0x60)<br />

...<br />

====================================<br />

** Section #4<br />

Name : HEAP<br />

...<br />

Addr : 0x00008458<br />

File Offset : 812 (0x32c)<br />

Size : 256 bytes (0x100)<br />

...<br />

====================================<br />

** Section #5<br />

Name : STACK<br />

...<br />

Addr : 0x00008558<br />

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

ID080411 Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!