/branches/dynload/uspace/lib/rtld/rtld.c |
---|
39,6 → 39,7 |
#include <fcntl.h> |
#include <rtld.h> |
#include <dynamic.h> |
#include "../../app/iloader/pcb.h" |
static void kputint(unsigned i) |
85,6 → 86,7 |
// test_func(); |
pcb_t *pcb; |
static dyn_info_t dyn_info; |
printf("Hello, world! (from rtld)\n"); |
getchar(); |
91,6 → 93,7 |
printf("Run program..\n"); |
pcb = (pcb_t *)PCB_ADDRESS; |
dynamic_parse(pcb->dynamic, 0, &dyn_info); |
pcb->entry(); |
} |