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.

5.8 Optimization with RW data compression<br />

5.8.1 See also<br />

<strong>Using</strong> linker optimizations<br />

RW data areas typically contain a large number of repeated values, such as zeros, that makes<br />

<strong>the</strong>m suitable for compression. RW data compression is enabled by default to minimize ROM<br />

size.<br />

The linker compresses <strong>the</strong> data. This data is <strong>the</strong>n decompressed on <strong>the</strong> target at run time.<br />

The <strong>ARM</strong> libraries contain some decompression algorithms and <strong>the</strong> linker chooses <strong>the</strong> optimal<br />

one to add to your image to decompress <strong>the</strong> data areas when <strong>the</strong> image is executed. You can<br />

override <strong>the</strong> algorithm chosen by <strong>the</strong> linker.<br />

Concepts<br />

• How compression is applied on page 5-16.<br />

Tasks<br />

• Overriding <strong>the</strong> compression algorithm used by <strong>the</strong> linker on page 5-15<br />

• Working with RW data compression on page 5-17.<br />

Concepts<br />

• How <strong>the</strong> linker chooses a compressor on page 5-14<br />

• How compression is applied on page 5-16.<br />

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

ID080411 Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!