7.142 --relaxed_ref_def, --no_relaxed_ref_def

Permits multiple object files to use tentative definitions of global variables.

Some traditional programs are written using this declaration style.

Usage

This option is primarily provided for compatibility with GNU C. ARM does not recommend using this option for new application code.

Default

The default is strict references and definitions. (Each global variable can only be declared in one object file.)

Restrictions

This option is not available in C++.
Non-ConfidentialPDF file icon PDF versionARM DUI0375F
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.