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 STKCKD function in an image that contains USESV7 functions.
A ~STKCKD function in an image that contains STKCKD functions.
Note:
STKCKD functions reserve register R10 for Stack Checking, ~STKCKD functions use register R10 as variable register v7 and USESV7 functions use register R10 as v7. See the Procedure Call Standard for the Arm® Architecture (AAPCS) for more information about v7.
An example of a condition that might result in failure is taking the
address of an interworking function from a non-interworking function.
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.