Keil™, An ARM® Company

RealView Linker and Utilities Guide

‑‑base n

7.2.1. ‑‑base n

Specifies the base address of the output for Motorola S‑record and Intel Hex file formats. This option is available only if ‑‑m32, ‑‑m32combined, ‑‑i32, or ‑‑i32combined is specified as the output format.

You can specify the base address as either:

  • a decimal value, for example, ‑‑base 0

  • a hexadecimal value, for example, ‑‑base 0x8000.

All addresses encoded in the output file start at the base address n. If you do not specify a ‑‑base option, the base address is taken from the load region address.

Note

If multiple load regions are present, the ‑‑base value is used for each output file. That is, it overrides all load region addresses.

Copyright © 2007 ARM Limited. All rights reserved.ARM DUI 0377A