04.01.2015 Views

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - 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.

Compiler Command-line Options<br />

The initial value of the U bit is determined by the UBITINIT input<br />

to the core.<br />

Note<br />

Unaligned doubleword accesses, for example unaligned accesses to long<br />

long integers, are not supported by <strong>ARM</strong> processor cores. Doubleword<br />

accesses must be either eight-byte or four-byte aligned.<br />

The compiler does not provide support for modulo eight-byte alignment<br />

checking. That is, the configuration U = 0, A = 1 in CP15 register 1 is not<br />

supported by the compiler, or more generally, by the RVCT toolset.<br />

The RVCT libraries include special versions of certain library functions<br />

designed to exploit unaligned accesses. To prevent these enhanced library<br />

functions being used when unaligned access support is disabled, you have<br />

to specify --no_unaligned_access on both the compiler command line and<br />

the assembler command line when compiling a mixture of C and C++<br />

source files and asssembly language source files.<br />

Restrictions<br />

Code compiled for processors supporting unaligned accesses to data can run correctly<br />

only if the choice of alignment support in software matches the choice of alignment<br />

support on the processor core.<br />

See also<br />

• --cpu=name on page 2-30<br />

• Command syntax on page 3-2 in the Assembler Guide<br />

• Alignment support on page 2-13 in the Developer Guide.<br />

2.1.162 --use_pch=filename<br />

This option instructs the compiler to use a PCH file with the specified filename as part<br />

of the current compilation.<br />

This option takes precedence if you include --pch on the same command line.<br />

Syntax<br />

--use_pch=filename<br />

Where:<br />

filename<br />

is the PCH file to be used as part of the current compilation.<br />

<strong>ARM</strong> DUI 0348C Copyright © 2007-2010 <strong>ARM</strong>. All rights reserved. 2-129<br />

ID101213<br />

Non-Confidential,

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

Saved successfully!

Ooh no, something went wrong!