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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

5.11 How compression is applied<br />

5.11.1 See also<br />

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

Run-length compression encodes data as non-repeated bytes and repeated zero-bytes.<br />

Non-repeated bytes are output unchanged, followed by a count of zero-bytes. Limpel-Ziv 1977<br />

(LZ77) compression keeps track of <strong>the</strong> last n bytes of data seen and, when a phrase is<br />

encountered that has already been seen, it outputs a pair of values corresponding to <strong>the</strong> position<br />

of <strong>the</strong> phrase in <strong>the</strong> previously-seen buffer of data, and <strong>the</strong> length of <strong>the</strong> phrase.<br />

Concepts<br />

• Optimization with RW data compression on page 5-13<br />

• How <strong>the</strong> linker chooses a compressor on page 5-14.<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 />

Reference<br />

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

• --datacompressor=opt on page 2-40.<br />

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

ID080411 Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!