/branches/dynload/uspace/lib/rtld/rtld.c |
---|
37,6 → 37,16 |
#include <rtld.h> |
runtime_env_t *runtime_env; |
static runtime_env_t rt_env_static; |
/** Initialize the loder for use in a statically-linked binary. */ |
void rtld_init_static(void) |
{ |
runtime_env = &rt_env_static; |
list_initialize(&runtime_env->modules_head); |
runtime_env->next_bias = 0x2000000; |
runtime_env->program = NULL; |
} |
/** @} |
*/ |