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.6.1 See also<br />

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

In <strong>the</strong> assembler file, fb.s, <strong>the</strong> legacy() and cubed() functions are no longer in <strong>the</strong> main<br />

.text area. They are compiled into <strong>the</strong>ir own ELF sections. Therefore, armlink can<br />

remove <strong>the</strong> legacy() and cubed() functions from <strong>the</strong> final image.<br />

Note<br />

To get <strong>the</strong> maximum benefit from linker feedback you have to do a full compile and link at least<br />

twice. However, a single compile and link using feedback from a previous build is usually<br />

sufficient.<br />

Concepts<br />

• About linker feedback on page 5-7.<br />

Reference<br />

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

• --feedback=file on page 2-66<br />

• --feedback_image=option on page 2-67<br />

• --feedback_type=type on page 2-68<br />

• --info=topic[,topic,...] on page 2-80<br />

• --list=file on page 2-102<br />

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

<strong>Compiler</strong> Reference:<br />

• --asm on page 3-24<br />

• -c on page 3-31<br />

• --feedback=filename on page 3-91.<br />

• --inline, --no_inline on page 3-120.<br />

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

ID080411 Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!