Rev 3686 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3686 | Rev 3869 | ||
---|---|---|---|
Line 35... | Line 35... | ||
35 | */ |
35 | */ |
36 | 36 | ||
37 | #include <rtld.h> |
37 | #include <rtld.h> |
38 | 38 | ||
39 | runtime_env_t *runtime_env; |
39 | runtime_env_t *runtime_env; |
- | 40 | static runtime_env_t rt_env_static; |
|
- | 41 | ||
- | 42 | /** Initialize the loder for use in a statically-linked binary. */ |
|
- | 43 | void rtld_init_static(void) |
|
- | 44 | { |
|
- | 45 | runtime_env = &rt_env_static; |
|
- | 46 | list_initialize(&runtime_env->modules_head); |
|
- | 47 | runtime_env->next_bias = 0x2000000; |
|
- | 48 | runtime_env->program = NULL; |
|
- | 49 | } |
|
40 | 50 | ||
41 | /** @} |
51 | /** @} |
42 | */ |
52 | */ |