29.10.2014 Views

ARM Compiler toolchain v4.1 for µVision Using the Compiler

ARM Compiler toolchain v4.1 for µVision Using the Compiler

ARM Compiler toolchain v4.1 for µVision Using the Compiler

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Getting started with <strong>the</strong> <strong>Compiler</strong><br />

3.13 Code compatibility between separately compiled and assembled modules<br />

By writing code that adheres to <strong>the</strong> <strong>ARM</strong> Architecture Procedure Call Standard (AAPCS), you<br />

can ensure that separately compiled and assembled modules can work toge<strong>the</strong>r. The AAPCS<br />

<strong>for</strong>ms part of <strong>the</strong> Base Standard Application Binary Interface <strong>for</strong> <strong>the</strong> <strong>ARM</strong> Architecture<br />

specification.<br />

Interworking qualifiers associated with <strong>the</strong> --apcs compiler command-line option control<br />

interworking. Position independence qualifiers, also associated with <strong>the</strong> --apcs compiler<br />

command-line option, control position independence, and affect <strong>the</strong> creation of reentrant and<br />

thread-safe code.<br />

Note<br />

This does not mean that you must use <strong>the</strong> same --apcs command-line options to get your<br />

modules to work toge<strong>the</strong>r. You must be familiar with <strong>the</strong> AAPCS.<br />

3.13.1 See also<br />

Tasks<br />

• <strong>ARM</strong> C libraries and multithreading on page 2-16.<br />

Reference<br />

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

• --apcs=qualifer...qualifier on page 3-7.<br />

O<strong>the</strong>r in<strong>for</strong>mation<br />

• Procedure Call Standard <strong>for</strong> <strong>the</strong> <strong>ARM</strong> Architecture,<br />

http://infocenter.arm.com/help/topic/com.arm.doc.ihi0042-/index.html<br />

<strong>ARM</strong> DUI 0375C Copyright © 2007-2008, 2011 <strong>ARM</strong>. All rights reserved. 3-21<br />

ID061811<br />

Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!