14.3 Linker changes between RVCT v2.2 and RVCT v3.0

Various changes have been made to armlink in RVCT v3.0.

The following changes have been made to the linker:

  • If you specify the compiler option --fpu=softvfp together with a CPU with implicit VFP hardware, the linker no longer chooses a library that implements the software floating-point calls using VFP instructions. If you require this legacy behavior, specify the compiler option --fpu=softvfp+vfp.

  • armlink writes the contents of load regions into the output ELF file in the order that load regions are written in the scatter file. Each load region is represented by one ELF program segment. In RVCT v2.2 the Program Header Table entries describing the program segments are given the same order as the program segments in the ELF file. To be more compliant with the ELF specification, in RVCT v3.0 and later the Program Header Table entries are sorted in ascending virtual address order.

  • The --no_strict_ph command-line option has been added to switch off the sorting of the Program Header Table entries.

Non-ConfidentialPDF file icon PDF versionARM DUI0530M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.