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

#include <rld-symbols.h>

Public Member Functions

 table ()
 
 ~table ()
 
void add_external (symbol &sym)
 
void add_weak (symbol &sym)
 
symbolfind_external (const std::string &name)
 
symbolfind_weak (const std::string &name)
 
size_t size () const
 
const symtabexternals () const
 
const symtabweaks () const
 

Detailed Description

A symbols contains a symbol table of externals and weak symbols.

Constructor & Destructor Documentation

rld::symbols::table::table ( )

Construct a table.

rld::symbols::table::~table ( )

Destruct a table.

Member Function Documentation

void rld::symbols::table::add_external ( symbol sym)

Add an external symbol.

void rld::symbols::table::add_weak ( symbol sym)

Add a weak symbol.

const symtab & rld::symbols::table::externals ( ) const

Return the externals symbol table.

symbol * rld::symbols::table::find_external ( const std::string &  name)

Find an external symbol.

symbol * rld::symbols::table::find_weak ( const std::string &  name)

Find an weak symbol.

size_t rld::symbols::table::size ( ) const

Return the size of the symbols loaded.

const symtab & rld::symbols::table::weaks ( ) const

Return the weaks symbol table.


The documentation for this class was generated from the following files: