/branches/dynload/uspace/app/iloader/main.c/main.c |
---|
55,7 → 55,7 |
printf("Load program\n"); |
rc = elf_load_file("/tetris", &prog_info); |
rc = elf_load_file("/dltest", &prog_info); |
if (rc < 0) { |
printf("failed to load program\n"); |
return 1; |
64,6 → 64,8 |
printf("Create PCB\n"); |
if (elf_create_pcb(&prog_info) < 0) return 1; |
getchar(); |
printf("Load dynamic linker\n"); |
file_name = "/rtld.so"; |
printf("open and read '%s'...\n", file_name); |