3.3.5. Linking your code

Use the linker command-line option --rwpi to make the load and execution region containing the RW and ZI output sections position-independent. This option requires a value for --rw-base. If --rw-base is not specified, --rw-base 0 is assumed. Usually each writable input section must be RWPI. See RealView Compilation Tools v3.0 Linker and Utilities Guide for details of these options.

Copyright © 2002-2006 ARM Limited. All rights reserved.ARM DUI 0203G