12.155 --unaligned_access, --no_unaligned_access

Enable or disable unaligned accesses to data on ARM architecture-based processors.

Default

The default is --unaligned_access.

Usage

When using --no_unaligned_access, the linker:

  • Does not select objects from the ARM C library that allow unaligned accesses.
  • Gives an error message if any input object allows unaligned accesses.

    Note:

    This error message can be downgraded.
Non-ConfidentialPDF file icon PDF versionARM DUI0474M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.