You copied the Doc URL to your clipboard.

ARM Compiler armlink User Guide : --unaligned_access, --no_unaligned_access

--unaligned_access, --no_unaligned_access

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


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.


    This error message can be downgraded.


The default is --unaligned_access.