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

Functions

const std::string script_text (const std::string &entry, const std::string &exit, const files::object_list &dependents, const files::cache &cache, bool not_in_archive)
 
void metadata_object (files::object &metadata, const std::string &entry, const std::string &exit, const files::object_list &dependents, const files::cache &cache)
 
void archive (const std::string &name, const std::string &entry, const std::string &exit, const files::object_list &dependents, const files::cache &cache)
 
void script (const std::string &name, const std::string &entry, const std::string &exit, const files::object_list &dependents, const files::cache &cache)
 
void elf_application (const std::string &name, const std::string &entry, const std::string &exit, const files::object_list &dependents, const files::cache &cache)
 
void application (const std::string &name, const std::string &entry, const std::string &exit, const files::object_list &dependents, const files::cache &cache, const symbols::table &symbols)
 
std::string script_text (const std::string &entry, const std::string &exit, const files::object_list &dependents, const files::cache &cache)
 

Function Documentation

void rld::outputter::application ( const std::string &  name,
const std::string &  entry,
const std::string &  exit,
const files::object_list &  dependents,
const files::cache &  cache,
const symbols::table &  symbols 
)

Output the object files in an archive with the metadata.

Parameters
nameThe name of the script.
entryThe name of the entry point symbol.
exitThe name of the exit point symbol.
dependentsThe list of dependent object files
cacheThe file cache for the link. Includes the object list the user requested.
symbolsThe symbol table used to resolve the application.
void rld::outputter::archive ( const std::string &  name,
const std::string &  entry,
const std::string &  exit,
const files::object_list &  dependents,
const files::cache &  cache 
)

Output the object files as an archive format file with the metadata as the first ELF file.

Parameters
nameThe name of the archive.
entryThe name of the entry point symbol.
exitThe name of the exit point symbol.
dependentsThe list of dependent object files
cacheThe file cache for the link. Includes the object list the user requested.
void rld::outputter::elf_application ( const std::string &  name,
const std::string &  entry,
const std::string &  exit,
const files::object_list &  dependents,
const files::cache &  cache 
)

Output the object files in an archive with the metadata.

Parameters
nameThe name of the script.
entryThe name of the entry point symbol.
exitThe name of the exit point symbol.
dependentsThe list of dependent object files
cacheThe file cache for the link. Includes the object list the user requested.
void rld::outputter::metadata_object ( files::object &  metadata,
const std::string &  entry,
const std::string &  exit,
const files::object_list &  dependents,
const files::cache &  cache 
)
void rld::outputter::script ( const std::string &  name,
const std::string &  entry,
const std::string &  exit,
const files::object_list &  dependents,
const files::cache &  cache 
)

Output the object file list as a script.

Parameters
nameThe name of the script.
entryThe name of the entry point symbol.
exitThe name of the exit point symbol.
dependentsThe list of dependent object files
cacheThe file cache for the link. Includes the object list the user requested.
std::string rld::outputter::script_text ( const std::string &  entry,
const std::string &  exit,
const files::object_list &  dependents,
const files::cache &  cache 
)

Output the object file list as a string.

Parameters
entryThe name of the entry point symbol.
exitThe name of the exit point symbol.
dependentsThe list of dependent object files
cacheThe file cache for the link. Includes the object list the user requested.
Returns
std::string The list as a text string.
const std::string rld::outputter::script_text ( const std::string &  entry,
const std::string &  exit,
const files::object_list &  dependents,
const files::cache &  cache,
bool  not_in_archive 
)