Changes in uspace/lib/c/include/rtld/rtld.h [9d58539:153c7a29] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/rtld/rtld.h
r9d58539 r153c7a29 36 36 #define LIBC_RTLD_H_ 37 37 38 #include <adt/list.h> 39 #include <elf/elf_mod.h> 38 40 #include <sys/types.h> 39 #include <adt/list.h>40 41 41 42 #include <rtld/dynamic.h> 42 #include <rtld/module.h> 43 #include <tls.h> 44 #include <types/rtld/rtld.h> 43 45 44 typedef struct { 45 elf_dyn_t *rtld_dynamic; 46 module_t rtld; 46 extern rtld_t *runtime_env; 47 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 57 extern runtime_env_t *runtime_env; 58 59 extern void rtld_init_static(void); 48 extern int rtld_init_static(void); 49 extern int rtld_prog_process(elf_finfo_t *, rtld_t **); 50 extern tcb_t *rtld_tls_make(rtld_t *); 51 extern unsigned long rtld_get_next_id(rtld_t *); 52 extern void *rtld_tls_get_addr(rtld_t *, tcb_t *, unsigned long, unsigned long); 60 53 61 54 #endif
Note:
See TracChangeset
for help on using the changeset viewer.