Rev 2972 | Rev 2988 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2972 | Rev 2973 | ||
---|---|---|---|
Line 64... | Line 64... | ||
64 | } |
64 | } |
65 | 65 | ||
66 | printf("Create PCB\n"); |
66 | printf("Create PCB\n"); |
67 | if (elf_create_pcb(&prog_info) < 0) return 1; |
67 | if (elf_create_pcb(&prog_info) < 0) return 1; |
68 | 68 | ||
69 | getchar(); |
69 | // getchar(); |
70 | 70 | ||
71 | printf("Load dynamic linker\n"); |
71 | printf("Load dynamic linker\n"); |
72 | file_name = "/rtld.so"; |
72 | file_name = "/rtld.so"; |
73 | printf("open and read '%s'...\n", file_name); |
73 | printf("open and read '%s'...\n", file_name); |
74 | rc = elf_load_file(file_name, RTLD_BIAS, &interp_info); |
74 | rc = elf_load_file(file_name, RTLD_BIAS, &interp_info); |