1.16 -fropi-lowering, -fno-ropi-lowering [BETA]

Enables and disables runtime static initialization when generating Read-Only Position-Independent (ROPI) code.


This topic describes a [BETA] feature.
If you compile with -fropi-lowering, then the static initialization is done at runtime. It is done by the same mechanism that is used to call the constructors of static C++ objects that must run before main(). This enables these static initializations to work with ROPI code.


The default is -fno-ropi-lowering. If -fropi is used, then the default is -fropi-lowering. If -frwpi is used without -fropi, then the default is -fropi-lowering.
Non-ConfidentialPDF file icon PDF versionARM DUI0774E
Copyright © 2014-2016 ARM. All rights reserved.