RTEMS CPU Kit with SuperCore
Data Fields
rtems_rtl_data_s Struct Reference

The global RTL data. More...

#include <rtl.h>

Collaboration diagram for rtems_rtl_data_s:
Collaboration graph
[legend]

Data Fields

rtems_id lock
 The RTL lock id.
 
rtems_rtl_alloc_data_t allocator
 The allocator data. More...
 
rtems_chain_control objects
 List if loaded object files. More...
 
const char * paths
 Search paths for archives. More...
 
rtems_rtl_symbols_t globals
 Global symbol table. More...
 
rtems_rtl_unresolved_t unresolved
 Unresolved symbols. More...
 
rtems_rtl_obj_tbase
 Base object file. More...
 
rtems_rtl_obj_cache_t symbols
 Symbols object file cache. More...
 
rtems_rtl_obj_cache_t strings
 Strings object file cache. More...
 
rtems_rtl_obj_cache_t relocs
 Relocations object file cache. More...
 
rtems_rtl_obj_comp_t decomp
 The decompression compressor. More...
 
int last_errno
 Last error number. More...
 
char last_error [64]
 Last error string. More...
 

Detailed Description

The global RTL data.

This structure is allocated on the heap when the first call to the RTL is made and never released.

The global symbol table is a hash table held in this structure and the actual symbols are part of the object's structure. If this is a problem we could look at a hash table per object file.

Field Documentation

◆ allocator

rtems_rtl_alloc_data_t rtems_rtl_data_s::allocator

The allocator data.

◆ base

rtems_rtl_obj_t* rtems_rtl_data_s::base

Base object file.

◆ decomp

rtems_rtl_obj_comp_t rtems_rtl_data_s::decomp

The decompression compressor.

Referenced by rtems_rtl_obj_comp().

◆ globals

rtems_rtl_symbols_t rtems_rtl_data_s::globals

Global symbol table.

Referenced by rtems_rtl_global_symbols().

◆ last_errno

int rtems_rtl_data_s::last_errno

Last error number.

◆ last_error

char rtems_rtl_data_s::last_error[64]

Last error string.

◆ objects

rtems_chain_control rtems_rtl_data_s::objects

List if loaded object files.

Referenced by rtems_rtl_check_handle(), and rtems_rtl_find_obj().

◆ paths

const char* rtems_rtl_data_s::paths

Search paths for archives.

◆ relocs

rtems_rtl_obj_cache_t rtems_rtl_data_s::relocs

Relocations object file cache.

Referenced by rtems_rtl_obj_caches(), and rtems_rtl_obj_caches_flush().

◆ strings

rtems_rtl_obj_cache_t rtems_rtl_data_s::strings

Strings object file cache.

Referenced by rtems_rtl_obj_caches(), and rtems_rtl_obj_caches_flush().

◆ symbols

rtems_rtl_obj_cache_t rtems_rtl_data_s::symbols

Symbols object file cache.

Referenced by rtems_rtl_obj_caches(), and rtems_rtl_obj_caches_flush().

◆ unresolved

rtems_rtl_unresolved_t rtems_rtl_data_s::unresolved

Unresolved symbols.

Referenced by rtems_rtl_unresolved().


The documentation for this struct was generated from the following file: