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.h File Reference

RTEMS Linker readies the RTEMS object files for dynamic linking. More...

#include <iostream>
#include <sstream>
#include <string>
#include <rld-elf-types.h>
#include <rld-symbols.h>
#include <rld-elf.h>
#include <rld-files.h>

Go to the source code of this file.

Classes

struct  rld::error
 

Namespaces

namespace  rld
 
namespace  rld::files
 

Macros

#define RLD_PATH_SEPARATOR   '/'
 
#define RLD_PATHSTR_SEPARATOR   ':'
 
#define RLD_PATHSTR_SEPARATOR_STR   ":"
 
#define RLD_DRIVE_SEPARATOR   (0)
 
#define RLD_VERBOSE_OFF   (0)
 
#define RLD_VERBOSE_INFO   (1)
 
#define RLD_VERBOSE_DETAILS   (2)
 
#define RLD_VERBOSE_TRACE   (3)
 
#define RLD_VERBOSE_TRACE_SYMS   (4)
 
#define RLD_VERBOSE_TRACE_FILE   (5)
 
#define RLD_VERBOSE_FULL_DEBUG   (6)
 
#define rld_error_at(_what)   rld::error (_what, std::string (__FILE__) + ":" + to_string (__LINE__))
 

Typedefs

typedef std::vector< std::string > rld::strings
 

Functions

template<class T >
std::string rld::to_string (T t, std::ios_base &(*f)(std::ios_base &)=std::dec)
 
void rld::verbose_inc ()
 
int rld::verbose ()
 
const std::string rld::version ()
 
const std::string rld::rtems_version ()
 
void rld::split (const std::string &str, strings &strs, char separator)
 
void rld::map (rld::files::cache &cache, rld::symbols::table &symbols)
 
void rld::warn_unused_externals (rld::files::object_list &objects)
 

Detailed Description

RTEMS Linker readies the RTEMS object files for dynamic linking.

Macro Definition Documentation

#define RLD_DRIVE_SEPARATOR   (0)
#define rld_error_at (   _what)    rld::error (_what, std::string (__FILE__) + ":" + to_string (__LINE__))

A convenience macro to make where a file and line number.

#define RLD_PATH_SEPARATOR   '/'

Path handling for Windows.

#define RLD_PATHSTR_SEPARATOR   ':'
#define RLD_PATHSTR_SEPARATOR_STR   ":"
#define RLD_VERBOSE_DETAILS   (2)
#define RLD_VERBOSE_FULL_DEBUG   (6)
#define RLD_VERBOSE_INFO   (1)
#define RLD_VERBOSE_OFF   (0)

The debug levels.

#define RLD_VERBOSE_TRACE   (3)
#define RLD_VERBOSE_TRACE_FILE   (5)
#define RLD_VERBOSE_TRACE_SYMS   (4)