/branches/dynload/uspace/app/dload/dload.c |
---|
79,6 → 79,9 |
/* Pointer to program module. Used as root of the module graph. */ |
runtime_env->program = &prog; |
/* Work around non-existent memory space allocation. */ |
runtime_env->next_bias = 0x100000; |
/* |
* Now we can continue with loading all other modules. |
*/ |
92,7 → 95,7 |
/* Process relocations in all modules */ |
DPRINTF("Relocate all modules\n"); |
modules_process_relocs(); |
modules_process_relocs(&prog); |
/* Pass runtime evironment pointer through PCB. */ |
__pcb->rtld_runtime = (void *) runtime_env; |