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.

8.3 Scatter-loading command-line option<br />

8.3.1 See also<br />

The armlink command-line option for using scatter-loading is:<br />

--scatter=description_file<br />

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

This instructs <strong>the</strong> linker to construct <strong>the</strong> image memory map as described in description_file.<br />

The Base Platform linking model supports scatter-loading. To enable this model, use <strong>the</strong><br />

--base_platform command-line option.<br />

Be aware that you cannot use --scatter with <strong>the</strong> following memory map related command-line<br />

options:<br />

• --bpabi<br />

• --dll<br />

• --partial<br />

• --ro_base<br />

• --rw_base<br />

• --ropi<br />

• --rwpi<br />

• --rosplit<br />

• --split<br />

• --reloc<br />

• --shared<br />

• --startup<br />

• --sysv<br />

• --zi_base.<br />

Concepts<br />

• Base Platform linking model on page 3-6<br />

• About scatter-loading on page 8-3<br />

• When to use scatter-loading on page 8-4<br />

• Equivalent scatter-loading descriptions for simple images on page 8-60.<br />

Reference<br />

<strong>Linker</strong> Reference:<br />

• --base_platform on page 2-18<br />

• --bpabi on page 2-24<br />

• --dll on page 2-49<br />

• --partial on page 2-119<br />

• --reloc on page 2-132<br />

• --ro_base=address on page 2-135<br />

• --ropi on page 2-136<br />

• --rosplit on page 2-137<br />

• --rw_base=address on page 2-139<br />

• --rwpi on page 2-140<br />

• --scatter=file on page 2-142<br />

• --shared on page 2-146<br />

• --split on page 2-154<br />

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

ID080411 Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!