/branches/dynload/uspace/lib/rtld/include/arch.h |
---|
37,8 → 37,7 |
#include <rtld.h> |
void rel_table_process(module_t *m, elf_rel_t *rt, size_t rt_size, |
module_t *dest); |
void rel_table_process(module_t *m, elf_rel_t *rt, size_t rt_size); |
#endif |
/branches/dynload/uspace/lib/rtld/include/elf_dyn.h |
---|
100,6 → 100,17 |
#define DT_LOPROC 0x70000000 |
#define DT_HIPROC 0x7fffffff |
/* |
* Special section indexes |
*/ |
#define SHN_UNDEF 0 |
#define SHN_LORESERVE 0xff00 |
#define SHN_LOPROC 0xff00 |
#define SHN_HIPROC 0xff1f |
#define SHN_ABS 0xfff1 |
#define SHN_COMMON 0xfff2 |
#define SHN_HIRESERVE 0xffff |
#endif |
/** @} |
/branches/dynload/uspace/lib/rtld/include/rtld.h |
---|
44,8 → 44,16 |
size_t bias; |
} module_t; |
typedef struct { |
module_t *program; |
module_t *rtld; |
module_t *libc; |
} runtime_env_t; |
void _rtld_main(void); |
extern runtime_env_t runtime_env; |
#endif |
/** @} |
/branches/dynload/uspace/lib/rtld/include/symbol.h |
---|
38,7 → 38,7 |
#include <rtld.h> |
#include <elf.h> |
elf_symbol_t *symbol_def_find(module_t *m, char *name); |
elf_symbol_t *symbol_def_find(char *name, module_t **m); |
#endif |