RTEMS Linker
0.0.1
RTEMS Tools Project
|
#include <rld-symbols.h>
Public Member Functions | |
table () | |
~table () | |
void | add_external (symbol &sym) |
void | add_weak (symbol &sym) |
symbol * | find_external (const std::string &name) |
symbol * | find_weak (const std::string &name) |
size_t | size () const |
const symtab & | externals () const |
const symtab & | weaks () const |
A symbols contains a symbol table of externals and weak symbols.
rld::symbols::table::table | ( | ) |
Construct a table.
rld::symbols::table::~table | ( | ) |
Destruct a table.
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.