9.111 --strict

Instructs the linker to perform additional conformance checks, such as reporting conditions that might result in failures.

Usage

--strict causes the linker to check for taking the address of:
  • A non-interworking location from a non-interworking location in a different state.
  • A RW location from a location that uses the static base register R9.
  • A stack checked location from a location that uses the reserved stack checking register R10. This is for ARM Developer Suite (ADS) compatibility only.
  • A location that uses the reserved stack checking register r10 from a stack checked location. This is for ADS compatibility only.
An example of a condition that might result in failure is taking the address of an interworking function from a non-interworking function.
Related concepts
3.13 The strict family of linker options
Related reference
9.112 --strict_enum_size, --no_strict_enum_size
9.113 --strict_flags, --no_strict_flags
9.114 --strict_ph, --no_strict_ph
9.115 --strict_relocations, --no_strict_relocations
9.116 --strict_symbols, --no_strict_symbols
9.117 --strict_visibility, --no_strict_visibility
9.118 --strict_wchar_size, --no_strict_wchar_size
9.31 --diag_remark=tag[,tag,…]
9.33 --diag_suppress=tag[,tag,…]
9.34 --diag_warning=tag[,tag,…]
9.30 --diag_error=tag[,tag,…]
9.42 --errors=filename
Non-ConfidentialPDF file icon PDF versionARM DUI0377G
Copyright © 2007, 2008, 2011, 2012, 2014, 2015 ARM. All rights reserved.