Enables the linker to use a different image pre-initialization routine if required.
Syntax
--preinit=symbol
If --preinit=symbol is not specified then the default
symbol __arm_preinit_ is assumed.
--no_preinit does not take a symbol argument.
Effect
The linker adds a non-weak reference to symbol if a .preinit_array section is
detected.
For --preinit=__arm_preinit_ or
--cppinit=__cpp_initialize_aeabi_, the linker processes
R_ARM_TARGET1 relocations as R_ARM_REL32, because this is required by the
__arm_preinit and __cpp_initialize_aeabi_
functions. In all other cases R_ARM_TARGET1 relocations are processes as
R_ARM_ABS32.
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.