Autoinitialization of Variables at Run Time for EABI

NOTE

This section applies to applications that use EABI only.

Autoinitializing variables at run time is the default method of autoinitialization. To use this method, invoke the linker with the --rom_model option.

Using this method, the linker creates a compressed initialization table and initialization data from the direct initialized sections in the compiled module. The table and data are used by the C/C++ boot routine to initialize variables in RAM using the table and data in ROM.

Figure 7-6 illustrates autoinitialization at run time. Use this method in any system where your application runs from code burned into ROM.

Figure 7-6 Autoinitialization at Run Time init_run_470_pnu151.gif