You copied the Doc URL to your clipboard.

--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.) However, if you specify an ARM Linux configuration file on the command line and you use --translate_gcc, the default is --relaxed_ref_def.

Restrictions

This option is not available in C++.

Was this page helpful? Yes No