Next: , Previous: , Up: CTF dictionaries   [Contents][Index]


2.4 The data object section

This is a very simple section, an array of type IDs, populated only in CTF sections that are embedded in ELF objects. If there is no object index section, each of these is associated 1:1 with an ELF symbol of type STT_OBJECT with a nonzero value: the linker shuffles the data object section to correspond with the order of the data symbols in the ELF file.

Symbols with no name, undefined symbols and symbols named “_START_” and “_END_” are skipped.

Consumers can use this to map from ELF data sybmols directly to the type of those symbols.

Symbols that have no corresponding type are represented by type ID 0.

The section may have fewer entries than the symbol table, in which case no later entries have associated types.