Initialization Tables

The tables in the .cinit section consist of variable-size initialization records. Each variable that must be autoinitialized has a record in the .cinit section. Figure 7-2 shows the format of the .cinit section and the initialization records.

Figure 7-2 Format of Initialization Records in the .cinit Section cinit_recs_c28.png

The fields of an initialization record contain the following information:

Each variable that must be autoinitialized has an initialization record in the .cinit section.

Example 7 shows initialized global variables defined in C. Example 8 shows the corresponding initialization table.