Download ARM VERSION 1.2 Datasheet

Transcript
Creating an Application
-rw-base address
This option sets the execution addresses of the region containing the RW
output section at address. The default address is at the end of the RW
section.
-rwpi
This option makes the load and execution region containing the RW and
ZI output section position-independent. If this option is not used the
region is marked as absolute. The -rwpi option is ignored if -rw-base is
not also used. Usually each writable input section must be read-write
position-independent.
If you want more control over how the sections are placed in an image, use the -scatter
option and specify a scatter-load description file.
Using scatter-load description files for a simple image
The command-line options (-ro-base, -rw-base, -ropi, and -rwpi) create simple images.
You can create the more complex images by using the -scatter command-line option
to specify a scatter-load description file. The -scatter option is mutually exclusive with
the use of any of the simple memory map options -ro-base, -rw-base, -ropi, or -rwpi.
For more information on the linker and scatter-load description files, see the ADS Linker
and Utilities Guide and the Writing Code for ROM chapter in the ADS Developer
Guide.
ARM DUI 0064D
Copyright © 1999-2001 ARM Limited. All rights reserved.
3-19