8.159 --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.


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


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.


This option is not available in C++.

Related reference
8.9 --arm_linux_config_file=path
8.10 --arm_linux_configure
8.179 --translate_gcc
Non-ConfidentialPDF file icon PDF versionARM DUI0472J
Copyright © 2010-2013 ARM. All rights reserved.