1.22 -fropi-lowering, -fno-ropi-lowering

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

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 versionDUI0774J
Copyright © 2014–2017, 2019 Arm Limited or its affiliates. All rights reserved.