Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified uspace/lib/c/include/rtld/rtld.h

    r17341d4 r9d58539  
    3636#define LIBC_RTLD_H_
    3737
     38#include <sys/types.h>
    3839#include <adt/list.h>
    39 #include <elf/elf_mod.h>
    40 #include <sys/types.h>
    4140
    4241#include <rtld/dynamic.h>
    43 #include <types/rtld/rtld.h>
     42#include <rtld/module.h>
    4443
    45 extern rtld_t *runtime_env;
     44typedef struct {
     45        elf_dyn_t *rtld_dynamic;
     46        module_t rtld;
     47
     48        module_t *program;
     49
     50        /** List of all loaded modules including rtld and the program */
     51        list_t modules;
     52
     53        /** Temporary hack to place each module at different address. */
     54        uintptr_t next_bias;
     55} runtime_env_t;
     56
     57extern runtime_env_t *runtime_env;
    4658
    4759extern void rtld_init_static(void);
    48 extern int rtld_prog_process(elf_finfo_t *, rtld_t **);
    4960
    5061#endif
Note: See TracChangeset for help on using the changeset viewer.