RTEMS Linker  0.0.1
RTEMS Tools Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
rld::symbols Namespace Reference

Classes

class  symbol
 
class  table
 

Typedefs

typedef std::list< symbolbucket
 
typedef std::list< symbol * > pointers
 
typedef std::map< std::string,
symbol * > 
symtab
 

Functions

void load (bucket &bucket_, table &table_)
 
void load (bucket &bucket_, symtab &table_)
 
size_t referenced (pointers &symbols)
 
void output (std::ostream &out, const table &symbols)
 
void output (std::ostream &out, const symtab &symbols)
 

Typedef Documentation

typedef std::list< symbol > rld::symbols::bucket

Container of symbols. A bucket of symbols.

typedef std::list< symbol* > rld::symbols::pointers

References to symbols. Should always point to symbols held in a bucket.

typedef std::map< std::string, symbol* > rld::symbols::symtab

A symbols table is a map container of symbols. Should always point to symbols held in a bucket.

Function Documentation

void rld::symbols::load ( bucket &  bucket_,
table &  table_ 
)

Load a table from a buckey.

void rld::symbols::load ( bucket &  bucket_,
symtab &  table_ 
)

Load a table from a buckey.

void rld::symbols::output ( std::ostream &  out,
const table &  symbols 
)

Output the symbol table.

void rld::symbols::output ( std::ostream &  out,
const symtab &  symbols 
)

Output the symbol table.

size_t rld::symbols::referenced ( pointers &  symbols)

Given a container of symbols return how many are referenced.