RTEMS Linker  0.0.1
RTEMS Tools Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
/Users/chris/Development/rtems/src/apps/rtl-host.chrisj/rld-files.h File Reference

RTEMS Linker file manages access the image contained in various file formats. More...

#include <list>
#include <map>
#include <string>
#include <vector>
#include <rld.h>

Go to the source code of this file.

Classes

class  rld::files::file
 
class  rld::files::image
 
class  rld::files::archive
 
struct  rld::files::relocation
 
struct  rld::files::section
 
class  rld::files::object
 
class  rld::files::cache
 

Namespaces

namespace  rld
 
namespace  rld::files
 

Typedefs

typedef std::vector< std::string > rld::files::paths
 
typedef std::vector< file > rld::files::files
 
typedef std::map< const
std::string, archive * > 
rld::files::archives
 
typedef std::map< const
std::string, object * > 
rld::files::objects
 
typedef std::list< object * > rld::files::object_list
 
typedef std::list< relocation > rld::files::relocations
 
typedef std::list< section > rld::files::sections
 

Functions

std::string rld::files::basename (const std::string &name)
 
std::string rld::files::dirname (const std::string &name)
 
std::string rld::files::extension (const std::string &name)
 
void rld::files::path_split (const std::string &path, rld::files::paths &paths)
 
void rld::files::path_join (const std::string &path_, const std::string &file_, std::string &joined)
 
bool rld::files::check_file (const std::string &path)
 
bool rld::files::check_directory (const std::string &path)
 
void rld::files::find_file (std::string &path, const std::string &name, paths &search_paths)
 
void rld::files::copy (image &in, image &out, size_t size)
 
size_t rld::files::sum_sizes (const sections &secs)
 
const section * rld::files::find (const sections &secs, const int index)
 
void rld::files::copy_file (image &in, image &out, size_t size)
 
void rld::files::find_libraries (paths &libraries, paths &libpaths, paths &libs)
 

Detailed Description

RTEMS Linker file manages access the image contained in various file formats.

The base element is a file. It references a object file that is either inside an archive or stand alone. You access a object file by constructing a handle. A handle is the object file with the specific file descriptor created when the archive or object file was opened.